🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

A simple and lightweight plugin to lazily load images.

Image Effects Plugins

Documentation

jQuery LazyImage Plugin

A simple and lightweight plugin to lazily load images.

View Demo

Usage

Include the plugin after the jQuery library.

<script type="text/javascript" src="/path/to/jquery-lazyimage.js"></script>

Set up your images.

<img class="lazy-image" data-src="/path/to/image" /> <img class="lazy-image" data-src="/path/to/image" /> <img class="lazy-image" data-src="/path/to/image" /> ...

Initialise the plugin.

$('.lazy-image').lazyImage();

You May Also Like