interrobang Posted November 14, 2012 Share Posted November 14, 2012 When uploading a bunch of files (via ajax / drag-and-drop) the files are added in alphabetical sort order, but as soon as a single file upload is completed order changes and the complete file is added right before the yet uncompleted files. Is it possible to change this behaviour? As a workaround i currently zip the files before uploading and check the "Decompress ZIP files?" option, which seems to add the unzipped files in alphabetical order. Link to comment Share on other sites More sharing options...
ryan Posted November 14, 2012 Share Posted November 14, 2012 Antti coded the HTML5 upload capability and may be able to speak to it better than me, but I don't think we have control over that particular order? Link to comment Share on other sites More sharing options...
apeisa Posted November 14, 2012 Share Posted November 14, 2012 I don't see any other way than wait for all the download and then re-arrange them..? One possibility might be trying to start uploads in alphabetical order, but then the b-file might be much smaller in filesize than a-file and it would load first anyways... So no easy solutions comes into my mind. Link to comment Share on other sites More sharing options...
interrobang Posted November 14, 2012 Author Share Posted November 14, 2012 I thinks the files are already starting in alphabetical order, at least in my browser. The only solution which comes to my mind is to populate the WireArray right after the file selection is finished with dummy images and replace these once the upload completes. But this sounds like a dirty hack to me.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now