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

What is Framer? Join the Community
Return to index
Rory Smyth
Posted Oct 02 - Read on Facebook

Any suggestions on the best way to preload images from Sketch?

I'm hiding some layers by default and this causes slow loading when they're visible for the first time.

Working around this by hiding them off canvas and moving them into place when needed.

Is there any way to just get all the images from the imported folder and preload them?


Xin Xin

Would love to hear more on this topic too! Have random images pop up at different speeds isn't very nice.

Laura Galbraith

Hey ! did you ever resolve the issue?

Rory Smyth

Yeah you need to use the layer loaded event. Loop through all the layers and when they're all loaded do your stuff. Haven't put anything into a module or anything.

Read the entire post on Facebook