new image on error code example Example: on this image error <img src="" onerror="this.onerror=null;this.src='images/someotherimage';" />