Fix paths for images.