Changes the images paths