Asked

Simple lazy load in Javascript for images?

Hey, I wanna make simple lazy load for images in Sheet2Site because now it's just loading all. Example of site: http://www.iskandarlist.com/

Maybe I need to load not only images with lazy load but cards? Like in https://nomadlist.com/?

I used this for #routeshuffle. Simple to integrate and it only loads images that are visible. https://appelsiini.net/projects/lazyload/

I am using lazysizes most of the time. It works quite well.
https://github.com/aFarkas/lazysizes

Sign in to answer 😃