Make image paths relative