Implemented to take a photo.