title: Upload Images Direcly to AWS S3 in javascript
body: <p>I'm developing a web app that upload images and other files regularly.I'm using AWS Cognito service as authentication method.Uploading using PHP SDK is not working for me since I use JavaScript and HTML5. Can anybody give me a complete example of authenticating AWS S3 using Cognito and upload images and retrieve the preview of uploaded image when success, using JavaScript.</p>