Add a type to the image message