modify the location of images