commit right path for the images