Added validation for missing image or coordinate 0.