changing directory of image sources