made image paths relative