changing paths to images