Would it be feasible to add an option to replace the drop-down filter in the image assist popup with an autocomplete widget to specify the terms to filter by? I plan to have a fairly large image database that is categorized with free tagging, and the large extent of this vocabulary makes a drop-down box fairly unwieldy. On the other hand it would be awesome if I could type in the terms I want to filter by with an autocomplete (even cooler -- if I type in two terms A, B in the box image assist would only show pictures labeled with those two terms).

I think this would greatly enhance the UI of this module for large sites.

Comments

sun’s picture

Title: Add option for autocomplete widget to scan through vocabulary when filtering images » Support alternative image filters in popup
Version: 5.x-1.5 » 5.x-1.x-dev

I've marked several other issues duplicate of this now, because this needs a well thought-out configuration and UI concept.

Feature requests mentioned so far:

hyperlogos’s picture

I wonder if all of this wouldn't best be handled through views. I can't imagine a more powerful situation than being able to simply create my own image browser. Currently the user specifies which forms are to be equipped with img_assist. I imagine something like the profiles in the sIFR module, where a profile is created which applies to whichever forms; ideally the forms to use could be specified in a manner similar to the CAPTCHA module (which can add a link to forms to allow you to add a CAPTCHA to them.)

Simply using views and letting the user design their own selection criteria should buy you a solution to this issue (#220431: Support alternative image filters in popup) as well as #226826: Default to all images and #227051: Display image list per node or per gallery.

If you support passing arguments to the view, then it should be possible to easily use a single view to support filtering images by taxonomy terms or other node criteria. Supporting multiple user-configurable profiles as well (which themselves could pass arguments to views) lets you do it via select list.

The default view would simply provide an exposed taxonomy filter (thus automatically solving #80315: Show galleries with hierarchy) and would pick published nodes of type image. The view is a list of images which will need appropriate links. Then you launch into the second stage of img_assist as normal.

If the new image.module ends up as pure CCK in D7, this could also potentially allow the user to add other image node types, and then amend the view to include them as well (or only for certain types of nodes or whatever.)

This is probably a horrible amount of work but it's just my musing. It seems like it might be the only reasonable way to fulfill the broad range of potentially conflicting interface requests.

djorn’s picture

If you check out the easylink module, it uses views to generate the popup window. I never could get it working quite right, but I think the concept is similar to what drinkypoo proposed and would meet all the variations of this issue that people have suggested.

sun’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Status: Active » Closed (duplicate)

Marking as duplicate of #282184: Views integration, which is already implemented now. Using exposed filters, you can filter, sort, and do whatever you want to do.