take photo and upload