Takes images to the images directory.