DEV Community

Discussion on: Responsive images for Hugo

Collapse
 
bgadrian profile image
Adrian B.G.

I wrote a small script to lazy-load my images gist.github.com/bgadrian/68ec61ed9...

Responsiveness will be a nice addition.

Collapse
 
stereobooster profile image
stereobooster

I'm not sure that it is lazy-loading. It is more like delayed loading - you load all images on the page, but postpone download till DOM load event. Where is lazy-loading will postpone download of images until they get in viewport. Maybe different terminology ยฏ\_(ใƒ„)_/ยฏ