/ Lazy Loading

A very lightweight jQuery plugin to lazy load images

A very lightweight jQuery plugin to lazy load images

UNVEIL

This plugin is very useful and it boosts performance delaying loading of images in long web pages because images outside of viewport (visible part of web page) won't be loaded until the user scrolls to them.

Lazy Load has some cool options such as custom effects, container, events or data attribute. If you're not gonna use any of them you can reduce the file size by leaving just the essential code to show the images.

That's what I did and this is my lightweight version of Lazy Load with support for serving high-resolution images to devices with retina displays - less than 1k.

Browser support

Compatible with All Browsers and IE7+.

GitHub