updated the absolute path to the relative path for the image