resize image write locally and s3
refactor uploading resized image to be consistent with the initial image upload
refactor uploading resized image to be consistent with the initial image upload