how to put a default image in case of present image is not available code example
Example: bootstrap show alternative image if not exist
<img id="currentPhoto" src="https://www.ccrharrow.org/Images/content/953/741209.pg" onerror="this.src='https://www.unesale.com/ProductImages/Large/notfound.png'" alt="">