Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

jQuery is all like "You images done yet or what?"

tag: v1.0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.markdown

imagesLoaded

A small jQuery plugin that triggers a callback after all the child images in a parent element have been loaded. Because you can't do .load() on images.

$('#my-container').imagesLoaded( function( $images ) {
  // callback provides one argument, the jQuery object of child images
  console.log( $images.length + ' images have been loaded in ' + this )
});

See demo

Used in Masonry and Isotope.

Contribute

It ain't easy knowing when images have loaded. Every browser has its own little quirks that make this a difficult task to develop a cross-browser solution. Pull requests, testing, issues, and commentary are all highly encouraged (pleasepleaseplease) and very much appreciated.

Something went wrong with that request. Please try again.