If you happen to use a large enough file collection (such as a clipart library), finding an image can be a daunting task. Even though a search function could be useless for files named DC100_123143.jpg, if the images are correctly named, searching by image names could facilitate the task of finding an adequate image by quite a bit.

Is it possible, then, to add a search feature to IMCE? I think it'd greatly improve the overall usefulness of file browser and make the existence of large file libraries feasible.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wmostrey’s picture

Using filefield and filefield_sources you can do an autocomplete search on all files.

jcisio’s picture

If you want to search by name, the web browser is there for you (Ctrl-F or Cmd-F, then type the keyword).

IMHO IMCE is for quick image browsing/upload, not a catalog organizer. Of course you can categorize yourself, but a search feature for IMCE is perhaps overwhelming.

ufku’s picture

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

Status: Closed (won't fix) » Patch (to be ported)
FileSize
92.46 KB
96.84 KB
5.53 KB

Hello
Having a large amount of files, I also needed to make finding files in IMCE.
So, I added a kind of filter on the list of current files.
Attached is a patch to add this feature.

garfunk’s picture

Yes. Works fine thanks.

WeRockYourWeb.com’s picture

I think the filter/ search is an excellent patch, thank you. We for one, have dozens of client sites that could make use of this. Any chance this will be committed to the project?

robbertnl’s picture

FileSize
5.2 KB

Great feature, good work #4. However, the patch didn't work here in linux (backslashes vs forwardslashes issue).
I replaced the slashes and made a new patch for 6.x-1.4

deviato’s picture

Issue tags: -tags, -catalog, -index +imce, +file, +filter
FileSize
5.34 KB

Here's a patch against IMCE 2.1..

BrockBoland’s picture

Version: 6.x-1.3 » 6.x-2.x-dev
Status: Patch (to be ported) » Needs review
FileSize
48.87 KB
5.42 KB

The patch in #8 wouldn't apply cleanly for me. I applied it to the 6.x-2.x branch and generated a new patch from git.

I also added some help text to the filter form explaining that it will further filter the current file list. Patch and a screenshot are attached.

ufku’s picture

Status: Needs review » Closed (won't fix)

IMCE tools has this functionality