changed from calling image object to image path