I can load an image when it is loaded, by doing:
I know its too late to answer this question but for anyone viewing this thread, there is a simple and easy to use jQuery plugin with lots of other tricks to do the job. You can check it out here. then for checking all image load, you just need to do this
$('#container').imagesLoaded()
.always( function( instance ) {
console.log('all images loaded');
})