Fix S3 and scanned image timing issue
Fix S3 and scanned image timing issue

Don't add image data to the DB until after we've stored the image on S3.

LocalData/localdata-api,LocalData/localdata-api,LocalData/localdata-api