Convert the absolute path to relative path, before the image was not found.