Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get progress of multiple files uploading #70

Open
khaledkbadr opened this issue Jan 19, 2016 · 6 comments
Open

Can't get progress of multiple files uploading #70

khaledkbadr opened this issue Jan 19, 2016 · 6 comments

Comments

@khaledkbadr
Copy link

I'm trying to build progress bar, the problem is I can't get the ID of the file that I'm uploading.
I can do find on cloudinary db in minimongo. But it's not possible to show progress while the user upload multiple files.
Is there anyway I can get the _id of the file the user is uploading immediately?

@Secretmapper
Copy link

+1

@Lepozepo
Copy link
Owner

Definitely, I'll be upgrading this package and S3 as soon as I switch to full-time Meteor development again, I can't wait!

@fabianrios
Copy link

how can you use the progress bar at least with one image? any example I'm lost.

@Lepozepo
Copy link
Owner

Hey @fabianrios! Take a look at the /example/basic folder. You can get multiple progress bars by tapping into the client-side only Cloudinary.collection object that has all the active uploads

@Lepozepo
Copy link
Owner

Oh, lol, that one doesn't show progress bars. Well from the Cloudinary.collection object you can do a fetch() and you'll see a key there (I forgot what it's called but something like upload_progress). Then render that to your DOM :D so something like width: upload_progress/100

@mervynteo
Copy link

@Lepozepo Could you perhaps write an example of how to set up a progress bar? would be very helpful! Thanks. So far {{percent_uploaded}} works for me but jumps straight to 100% without anything in between. Prefer normal js instead of coffeescript which can be confusing to decipher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants