question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feedback] S3 Image Picker On Completed Upload Trigger?

See original GitHub issue

Page: /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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
beedrillcommented, Apr 22, 2022

Seriously, amplify-s3-image-picker has ZERO documentation on its API options and how to use it.

1reaction
ucjallencommented, Aug 31, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found