Implement lines to upload photos.