This demo shows the use of preload pugin, it utilizes following callback functions

1) oneachimageload

2) onloadall

See when each image is loaded the image place holder displays the image.

Also when all the images are loaded overlay is removed via "onloadall" callback function.