setting up image directory