Making image paths relative