Search the Community
Showing results for tags 'lazyload'.
-
Hi GSAP Community, I found this great project by Timothy Ricks and Jesper Landberg for creating an infinite image canvas - this project currently has a collection limit of 20 items. I was wondering if it would be possible to: - Extend beyond the 20-item limit - Add lazy loading to load images dynamically Is something like this feasible insight Webflow? Here's the original project link: https://webflow.com/made-in-webflow/website/Infinite-Draggable-Scrollable-Grid Any insights or code examples would be greatly appreciated!
-
Images shifting the scrolltrigger start position if there is no eager loads.
Qamar Aziz posted a topic in GSAP
When working with images in GSAP, I've noticed that on the initial load, the start position gets shifted if we don't set the image to eager: loads or given a specific height to it. However, I have been setting all my images to eager: loads instead of a lazy load, so it instantly downloads images at once, and the start position doesn't shift. But this increases the initial load of the page. Sometimes aspect ratio works and then I don't need to set images to eager: loads, lazy load works fine and sometimes setting the aspect ratio doesn't work. Is there a way we can maintain the scrolltrigger start position?- 1 reply
-
- gsap
- scrolltrigger
-
(and 2 more)
Tagged with:
-
Hi! I'm trying to use Scrollsmoother but I have a problem with lazyload images. The scroll doesn't refresh or update when images are loaded. Maybe it could nice a method for refresh or update scrollsmoother. Anyone has a solution for this? Thanks!
- 10 replies
-
- scrollsmoother
- lazyload
-
(and 2 more)
Tagged with: