In JQuery it was previously possible to handle missing images using fn.error()
var photo = $('#photo');
photo.find('.photo-wrapper')
.error(function() { $(this).attr('src' , '/images/nosuchphoto.png'); })
.attr( 'src', '/images/photoserver/photo.png' );
but this has been deprecated in JQuery 1.8.
Now that 1.9 is out, what is the best way to handle missing images?