Makes image paths relative.