• JS replace missing images

    `// Replace source $('img').error(function(){ $(this).attr('src', 'missing.png'); });

    // Or, hide them $("img").error(function(){ $(this).hide(); });`

    From CSS Tricks

    Posted by Paul Strandoo.