Updating image paths to be relative