implemented get_image_info