Fix relative path of images.