show alternate image if image src is broken 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'" />