removing image directory