Format image_class