http://fatfolderdesign.com/525/auto-replace-broken-images
$("img").error(function () { $(this).unbind("error").attr("src", "missing_image.gif"); });