html on error code example
Example 1: oneerror javascript image
<img src="imagenotfound.gif" alt="Image not found" onerror="this.onerror=null;this.src='imagefound.gif';" />
Example 2: on error html
<img src="logo1.jpg" onerror="this.src='error.jpg';" class="posting-logo-img">