added nested image_type