Change absolute path to the image with relative