I am creating a script that randomly shows a mosaic of urged. I keep the URLs of the original image in a DB, but it happens that sometimes I have image URLs that do not upload because the users deleted the images in instagram.
What is the best way to display an alternate image in case the source image is not found?