add absolute path to the image