This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Sergey Prostov
Posted Nov 07 - Read on Facebook

Hello again! Another noobist question - is an ability to combine file name with variable? Something like 'images/'+var+'.png'?


Joseph D. Wolff

Yes. And it's literally what you have above.

Sergey Prostov

A-ha-ha. Impossible, thank you so much! I'm really stupid, and tired today)

Joseph D. Wolff

No worries. Good hunting.

Rich Zarick

also possible to use 'images/#{var}.png' if you ever want to use a variable name in the context of a string.

Jonathan Lazarini

You can use string interpolation it's cleaner :)

Read the entire post on Facebook