Fix image()
type to be compatible with ImageMetadata
#6568
Merged
image()
type to be compatible with ImageMetadata
#6568