The best way to solve your problem:
<img id="currentPhoto" src="https://stackoverflow.com/questions/7995080/SomeImage.jpg" onerror="this.onerror=null; this.src="Default.jpg"" alt="" width="100" height="120">
onerror
is a good thing for you 🙂
Just change the image file name and try yourself.