Efficient and small, load your images lazily without messy jQuery plugins.
<img src="/baz.png"> <!-- will not be lazy loaded -->
<img class="lazy-load" data-src="/foo.png">
<img class="lazy-load" data-src="/bar.png">
lazyLoad.init( imageSelector, imageSourceAttribute );
Initializes lazy load. Can optionally pass in:
The class representing the image/images that you would like to lazy load ( .lazy-load
by default ).
Attribute on the image element that holds the image source ( data-src
by default ).