patch for img_info