Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
jQuery plugin for lazy loading images
HTML JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
img
.gitignore
Makefile
README.textile
Rakefile
disabled.html
enabled.html
enabled_container.html
enabled_fadein.html
enabled_gazillion.html
enabled_noscript.html
enabled_timeout.html
enabled_wide.html
enabled_wide_container.html
jquery.lazyload.js
jquery.lazyload.min.js
jquery.scrollstop.js
jquery.scrollstop.min.js
package.json

README.textile

Changelog

1.7.0

  • Optimized viewport selectors. Around 25% speed increase compared to 1.6.0.
  • Add data_attribute parameter. Allows custom naming of original data attribute. (Bryan Chow)
  • Track window resize event. (Simon Baynes)
  • Add appear event. This function is called when image appears to viewport but before it is loaded.
  • Add load event. This function is called when image is loaded. (Nick Larson)
  • Renamed effectspeed parameter to effect_speed. Old version will still works couple of versions. This parameter was previously undocumented.
  • Fix failure_limit bug #19. (Brandon)

1.6.0

  • Rename original attribute to data-original to be HTML5 friendly.
  • Remove all code regarding placeholder and automatically removing src attribute. It does not work with modern browsers. Must use data-original attribute instead.
  • Add support for James Padolseys scrollstop event. Use when you have hundreds of images.
  • Add skip_invisible parameter. When true plugin will skip invisible images. (Valentin Zwick)
  • Renamed failurelimit parameter to failure_limit. Old version will still work couple of versions.

1.5.0

  • Support for removing the src attribute already in HTML. This is not a drop in solution but gives additional speed for those who need it. (Jeremy Pollock)

1.4.0

  • When scrolling down quickly do not load the images above the top. (Bart Bruil)

1.3.2

  • Support for scrolling within a container.
  • Fixed IE not loading images.
Something went wrong with that request. Please try again.