Implemented archiving of images.