Updating image paths to be relative rather than absolute