Need help with unveil?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

luis-almeida
4.2K Stars 712 Forks 41 Commits 106 Opened issues

Description

A very lightweight jQuery plugin to lazy load images

Services available

!
?

Need anything else?

Contributors list

# 24,934
JavaScr...
Shell
PHP
27 commits
# 15,868
JavaScr...
CSS
gulp-pl...
Angular
2 commits
# 21,087
CSS
Angular
github-...
perform...
1 commit
# 67,530
CSS
HTML
contrib...
Shell
1 commit

unveil.js

A very lightweight plugin to lazy load images for jQuery or Zepto.js

Most of us are familiar with the Lazy Load plugin by Mika Tuupola. This plugin is very useful and it boosts performance delaying loading of images in long web pages because images outside of viewport (visible part of web page) won't be loaded until the user scrolls to them. Lazy Load has some cool options such as custom effects, container, events or data attribute. If you're not gonna use any of them you can reduce the file size by leaving just the essential code to show the images. That's what I did and this is my lightweight version of Lazy Load with support for serving high-resolution images to devices with retina displays - less than 1k.

Visit unveil's project page to read the documentation and see the demo.

Browser support

Compatible with All Browsers and IE7+.

License

Unveil is licensed under the MIT license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.