Here for the community? On May 9th, we'll be in New Orleans. Don’t miss out!
IMCE does not support pagination.
You may disable the extra features defined in imce-content.tpl.php by commenting out the js lines. Other than that, the load speed is limited to your browser's DOM rendering performance.
I had exactly the same issue and I just changes in IMCE settings default upload directory to new one with 0 files inside and it works fast again. Just go to admin/settings/imce/profile/edit/1 and change default directory name to new one.
I'm having the same issue. I can't seem to figure out where to turn off the directory listing so it doesn't even make the call to get the file list.
Any help? Thanks!
Try to create new empty directory for uploaded files and tell IMCE save images there. It will help you for quite some time to avoid this issue. But would be great to automate this process .. maybe create cron-job which do check and create new directory and set it as base dir for IMCE.
One solution would be to change the configuration profile to have the default path be something else, e.g.:
php: return 'users/'.$user->uid.'/'.date('Y');
That will create directories in the format users/[uid]/[year]. Obviously the existing path will have to still be available, but all new files would go into a much cleaner URL structure.
I'm making pagination into a feature request, instead of temporary work arounds.
I need pagination too. There's patch in #974568: Paging:
I have worked on patch #974568 for making working it on Drupal 7 with IMCE with version = "7.x-1.9" for adding pagination on pop up window of IMCE for file listing. Now this patch https://www.drupal.org/files/issues/imce_pagination_engage2.patch is working. Please try this.
Please see this related issue for an updated patch. https://www.drupal.org/node/974568
Drupal is a registered trademark of Dries Buytaert.