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

What is Framer? Join the Community
Return to index
Kasper Germann Kramme
Posted Jul 23 - Read on Facebook

How do I store a image in an array? I want to make a loop with containers containing diffrent images.

4 Comments

Jonas Treub

You can use the image paths

Emil Widlund

arr = [
'path/to/image.jpg',
'path/to/image.jpg'
]

for imagePath in arr
container = new Layer
image: imagePath

Brian Williams

Either store the path or the byte data but for framer you are probably better off just storing the path.

Kasper Germann Kramme

okay, thanks!

Read the entire post on Facebook