adjusted the image uploaded for AWS S3