Image lazy load plugin for jQuery, fork from jquery.unveil to improve performance with huge DOMs.
Lazyload image plugin for jQuery. This project is fork from jquery.unveil, to improve performance with huge DOMs.
lazyimg()
over again and again;You can see all of the release notes in here: Release notes
You can try the Demo app.
<img class="lazy" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://foo.bar/item1.jpg" data-src-retina="https://foo.bar/[email protected]" />
<img class="lazy" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://foo.bar/item2.jpg" data-src-retina="https://foo.bar/[email protected]" />
<script type="text/javascript">
$("body").lazyimg();
</script>
$ bundle install
$ rake watch # or use "rake build" to release
Apache V2 : https://choosealicense.com/licenses/apache