picture upload to amazon s3 working