directory change to image read