A simple and lightweight plugin to lazily load images.
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();