flushing image directory on db reset