Fix the definition of image types