Check for inputted image.