Simple Javscript Image Lazy Loading with Html5 - Echo.js

Simple Javscript Image Lazy Loading with Html5 - Echo.js
File Size: 307KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Echo is a lightweight and fast javascript library for image lazy loading via html5 data-* attributes. Optimize browser rendering and reduce number of HTTP round-trips by deferring the loading of images which are not in the client's viewport.

You might also be interested in:

How to use it:

1. Insert an image with html5 data-echo attribute

<img src="img/blank.gif" alt="" data-echo="img/album-1.jpg">

2. Include the Echo.js script at the bottom of your web page

<script src="src/echo.js"></script>

3. Done!

Change log:

v1.3.0 (2013-11-21)

  • Added IE8 support

This awesome jQuery plugin is developed by toddmotto. For more Advanced Usages, please check the demo page or visit the official website.