multiple thumb pic preview always sort by name

I need to change sequence of multiple thumb picture preview in edit page by picture date
can I do it ?

Thanks a lot

You may use Row_Rendering server event to check the value of the field (I assume it is a multiple file upload field), for example,

  • split the file names into array
  • loop through the array to find the image and get the file
  • check the file’s date
  • sort the files by date
  • concatenate the file names back to a comma separated value for the script to continue

Thanks so much

I have question, if i don’t need default thumbnail image to sort by name anymore in view or edit page but show only in sequence of file name in picture field, that’s I upload

where can I change in extension ?

Thanks

I think by default the file names are in the sequence you upload.