removed getImageMetadata API