Determining...or what is determining...the order in which images are uploaded?

5 posts by 3 authors in: Forums > CMS Builder
Last Post: December 28, 2018   (RSS)

By daniel - December 27, 2018

Hi Equinox,

Unfortunately, there is currently no way to reliably determine the order of multi-uploaded files. All files are uploaded simultaneously, and the resulting order is determined by which files finish uploading first. So for example, a smaller file is likely to appear before a larger one, and small fluctuations in things like network performance can also have an impact. This may be something we can update in the future, but it's not a simple fix. 

One thing you can try that may help the images be somewhat more ordered (as long as they all have similar file size): When selecting files to be uploaded, click on the last file in the list, then hold <shift> and click on the first file in the list which should select the whole list. This will at least make sure that the files are sent to be uploaded in alphabetical order. In testing, I've found that they will end up uploading in mostly in that order, so this may help reduce the amount of manual re-ordering required.

Let me know if you have any more questions.

Thanks,

Daniel
Technical Lead
interactivetools.com

By Codee - December 27, 2018

Thank you, Daniel. And I am REALLY glad you gave me the same explanation I already gave the client! ;-) Makes sense to me. Thank you!

By kitsguru - December 28, 2018

how about a simple sql statement that can change the dragsortorder to reflect the filename alphabetically against a specific record. This could be a plugin.

Jeff Shields

By Codee - December 28, 2018 - edited: December 28, 2018

Good idea, Jeff! Thank you for sharing that. Under normal circumstances I would recommend that - it's very intuitive and gives the website owner/manager greater editorial control of an automated process no matter how large the quantity of photos being uploaded. In this particular case, however, I have another plugin that processes specific functions against uploaded photos that would compromise the suggestion you made (I am simply not at liberty to explain the manipulation done by the other custom plugin). Otherwise this is an A+ solution you suggested. Thank you.