Replies: 1 comment 2 replies
-
lazysizes works with a dynamic expand. Which means the image that are inside of the viewport are loaded immediately while images close to the viewport are preloaded after load. This happens in three phases and results into the situation that images that are inside of the viewport are loaded without any space given to preloading only later this will be expanded. At the end it might be more complicated than other lazyloaders but it improves the user experience. You can as this is described in the readme change it by changing especially the options I would only go with For example: import lazySizes from 'lazysizes';
lazySizes.cfg.expand = 100; Now the algorithm works with 3 values: |
Beta Was this translation helpful? Give feedback.
-
On my homepage http://207.154.243.82/ I have a full-screen slider.
I would like all images below the fold to remain UNLOADED until the user scrolls further down.
Unfortunately almost all images load, even below the fold - only 5 images near the footer remain unloaded.
There needs to be 735px of space between the bottom of my slider and the next image, in order for lazyloading to pause image loading.
I have tried other lazyloaders like W3TC's which behave more closely to what I would like.
So my question is this: How can I configure your application to achieve what I envision?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions