Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.
/ jquery-lazyimage Public archive

A simple and lightweight plugin to lazily load images.

Notifications You must be signed in to change notification settings

dnasir/jquery-lazyimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

A simple and lightweight plugin to lazily load images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published