account for potential image error or no image