ImagesReady is a lightweight utility for detecting when images have been loaded. It supports promises and can be used with or without jQuery.