Adding root dir to images