Skip to content

rizkadwisaputra/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

 
 
 

Contributors

Languages

  • JavaScript 53.9%
  • HTML 46.1%