I have a site with lots of images. Some of them are missing on the server - deleted by the owner.
If image is not loaded (broken) I want to show placeholder - standard image, that indicates that image is missing.
I dont want to rewrite all templates so I cant add onError property to every image tag, so I cant use this solution: jQuery/JavaScript to replace broken images
Is it possible to write global function that will check all images and replace broken on load?