Styles img to be invisible when there is an error loading the image.