Hello, I use JS to change src of <img> to load different images from remote server in the same object.
if the image is available then everything works perfect, but when I cannot download image the <img> becomes blank (as expected). My question is, can I check somehow if image is not loaded (ex. error 404) ? So if no image can be downloaded i could display something like 'image not available' instead of blank screen.