jQuery plugin sequential uploads

Archived from the Transloadit support forum. Originally posted on January 8, 2014; details may be outdated, see our docs for current behavior. Original thread

Hello, does your jQuery plugin support sequential upload for multiple files.

When a user selects multiple files I want them to be processed and returned in JSON in the exactly same order as they were uploaded (not randomly).

Thanks!

Hey Martin,

you mean that when the user selects 3 files from a folder on his hard drive, the files would be uploaded in the order as they appeared in that folder (given the sort instructions)? I doubt that this is feasible, but I will take a look once you confirm this is what you require.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Hello Tim,

yes, blueimp jquery-file-upload has this option: https://github.com/blueimp/jQuery-File-Upload/wiki/Options#sequentialuploads.

Very helpful when you to allow members to upload multiple pictures into a content field. Otherwise the pictures will be inserted in random order and members would have to reorder them which is a big hassle…

Hey Martin,

ah okay, thanks for the feedback.

I have added this to our TODO. It would also be great if you wanted to take a look at supporting this. Our jQuery plugin is open source here: https://github.com/transloadit/jquery-sdk and it’s basically only one javascript file: https://github.com/transloadit/jquery-sdk/blob/master/js/lib/jquery.transloadit2.js

Please let me know if you are interested in submitting a Pull Request for this feature. If there is any work on the server required to be done, we’d be happy to provide that of course.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Hey there,

I am going to close this ticket for now. Please reply to it if you have more questions. It will automatically re-open.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos