edit image directory