Fix paths of images.