Added sync async photo uploading