Remove local paths for image assets and replace with relative paths