Changes image paths to relative