I want to do:
$(\"img\").bind(\'load\', function() { // do stuff });
But the load event doesn\'t fire when the image is loaded from cache
You can solve your problem using JAIL plugin that also allows you to lazy load images (improving the page performance) and passing the callback as parameter
$('img').asynchImageLoader({callback : function(){...}});
The HTML should look like