Simple fix for the issue that all thumbnail images in the gallery change to an error message if only one image throws an error.