I want to show default image describing that image not found when one of the images in page is not found .
How to do it ?
I want to show default image describing that image not found when one of the images in page is not found .
How to do it ?
Think that you want to show in body default.jpg but this image not exist in application or in server.You want to show meaningful image to user describing that image not found.You want to show ImageNotFound.jpg to user
This is a solution:
<img src="default.jpg" onerror="this.src='ImageNotFound.jpg'" />