jQuery.extend( target [, object1 ] [, objectN ] )
Merge the contents of two or more objects together into the first object.
$(‘img.photo’,this).imagesLoaded(myFunction) execute a callback when all images have loaded needed because .load() doesn’t work on cached images
Modified with a two-pass approach to changing image src. First, the proxy imagedata is set, which leads to the first callback being triggered, which resets imagedata to the original src, which fires the final, user defined callback.