add image to directory