How can we replace the 404 images with a default image using JavaScript by the time page loads?
<img src="your-image.png" onError="this.onerror=null;this.src='/path/noimage.gif';" />
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
<img src="your-image.png" onError="this.onerror=null;this.src='/path/noimage.gif';" />