show error when the image is not loaded