By default, the multiupload imagefield and filefield don't sort the uploaded items by name. If you upload many images and files to your website, this can be a serious issue, since you have to sort the items manually. In Drupal 7, the issue can be resolved with a very simple change in the Multiupload Filefield Widget (7.x).
Solution
Step 1: Edit multiupload_filefield_widget.field.inc
Edit the file multiupload_filefield_widget.field.inc which can be found in the folder sites/all/modules/multiupload_filefield_widget
Change the following line:
$element_children = element_children($element, TRUE);
with
$element_children = element_children($element, FALSE);

Read more articles
- Log in to post comments