Add prompt message when the image is invalid