img onerror not working code example
Example: alternative image in img tag
<img src="https://imageurl.com" alt="Image not found" onerror="this.src='https://alternativeimageurl.com'" />
<img src="https://imageurl.com" alt="Image not found" onerror="this.src='https://alternativeimageurl.com'" />