Fix image directory.