Changes relative path to images