[Feedback] S3 Image Picker On Completed Upload Trigger?
See original GitHub issuePage: /ui/storage/s3-image-picker/q/framework/angular
Feedback:
I have gotten the S3 Image Picker to work and when I click the button, it uploads to my S3 bucket, but then it just sits there. How do I know when the upload has completed and can direct back to another page? I noticed the S3 album has a handleOnLoad, is there something similar for the image picker?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Flutter's Image Picker and File Upload on Amplify Storage
In this live stream you will learn about Flutter's Image Picker library and how you can upload a file to the AWS Amplify ......
Read more >Image Upload to AWS S3 Bucket. Select Image ... - YouTube
In this video we will learn how to user UIImagePickerController to let user select an image and upload it to Amazon S3 Bucket....
Read more >AWS Amplify s3 Image picker status check after success ...
I am using above tag for uploading image to s3 bucket. It does successfully uploads the image. But how do I check the...
Read more >Tutorial: Using an Amazon S3 trigger to create thumbnail images
Prerequisites · Step 1. Create S3 buckets and upload a sample object · Step 2. Create the IAM policy · Step 3. Create...
Read more >Storage
Manual setup enables you to use your existing Amazon Cognito and Amazon S3 credentials in your app: import Amplify from 'aws-amplify'; Amplify.configure({ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seriously, amplify-s3-image-picker has ZERO documentation on its API options and how to use it.
I had some help from the aws subreddit, so, basically you need to use a Hub.Listen(“storage”) for the upload success event. That initially wasn’t working until I added the “track” param to the image picker as well. Then i finally received the storage events that the image picker was using. This should definitely be mentioned in the documentation, because the storage events do not fire without the track param added!
Unfortunately, there is not enough customization available with the current image picker, no cropper, no dimension restrictions, no resize ability and no file type restrictions, so I ended up writing a custom image picker using a file input, an image cropper library and the Storage.put method