Currently the IMCE editor display all files without paging. Оn sites with lot of images/files rendering may take long time.
This patch add a cosmetic pager (still all files info fetched) and give ability to decide how many images/files to show.

#3 974568-imce-paging.patch10.38 KBsillygwailo
imce.patch10.92 KBemposha


ufku’s picture

Status:Active» Closed (won't fix)
fizk’s picture

@ufku, why won't this feature be added? I'm currently working on a site that needs paging due to the large number of image files.

sillygwailo’s picture

Version:6.x-2.0-rc2» 6.x-2.x-dev
Status:Closed (won't fix)» Needs review
new10.38 KB

Patch re-rolled for 2.x with some whitespace cleanup. This was needed for a site with quite a large number of files as well, so I'm re-opening this.

er.pradeep’s picture

Issue summary:View changes

Hi All,

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 is working. Please try this.

ladybug_3777’s picture

I am VERY interested in your patch er.pradeep! I will check out your patch, however, why did not you attach the patch directly to this issue? (just curious)

ladybug_3777’s picture

This patch is not written using typical Drupal standards. It should not be written to include your personal file system path "sites/all/modules/contrib/IMCE" instead it should be applied from within IMCE directly. You cannot guarantee that all users will have the same directory structure for their modules, some use /sites/default, some use sites/all/modules (no contrib) etc.

Can you please re-roll the patch with this change so others can also try it easily. Please see this post for tips on patch file creation. :-)

I'll see if I can get your patch to apply to my dev environment and I'll provide some additional feedback for you.