Streaming live at 10am (PST)

Loading pictures as they appear


Hi everyone,

Is there any way not to load pictures / sections until they are not hitting the viewport?


Yes, you'll need to use interactions. Check out this page for a bunch of examples...


Hi, which one are you refering to? If I set it to display none, and change it on scroll into view, doesn't it load the picture at all until the interaction has been triggered?


Like this?


Whoops, sorry, that's the wrong tutorial link.

I'd use the scroll trigger and instead of setting display to none I'd use the opacity slider. Set that to 0% and then 100% on the scroll trigger.


Try watching this tutorial smile


I'm looking for a solution, where the pictures don't get loaded until hitting the viewpont, not just not displayed. So basically like a loading bar for each section. The page is allmost 10 MB and I'd like the sections to load as we scroll trough the site, not all at once in the beginning.


Woah! That's huge. Maybe you should spend more time optimizing the images?


It's due to a large number of animated gifs my client needs on the page. The images are all optimized with kraken.


ah. so you're looking for a LazyLoader.

This maybe what you are looking for:

closed #12

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.