Implement photo upload.