modify the images path and format