Closed (duplicate)
Project:
ImageField
Version:
6.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Aug 2009 at 07:59 UTC
Updated:
28 Apr 2010 at 22:00 UTC
There should be ability of filtering views by imagefield with some options.
Single picture field:
If imagefield allows more than one picture (list):
If content type allows user to put more than one picture as a result we
See also http://drupal.org/node/243473 - there is relationship workaround, but it is not enought.
Comments
Comment #1
merlinofchaos commentedFilters are provided by the module that provides the field.
Comment #2
zach harkey commentedEverything you are talking about could be accomplished with a single 'count' filter.
For example:
Configure filter Content: Image (field_image) - count
Operator:
[ ] Is less than
[ ] Is less than
[ ] Is less than or equal to
[ ] Is equal to
[ ] Is not equal to
[ ] Is greater than or equal to
[ ] Is greater than
Value:
[ textfield allowing integer ]
A numeric value.
It would also be awesome if we could display a field's count just like any other meta value (e.g. nid), with the ability to: Exclude from display, Rewrite the output of this field, Output this field as a link, Trim... etc,
This would make it possible to create a Title like: My gallery (8 images), something that is currently not possible to do.
It also seems like this should not be limited to just imagefield module when it is just as applicable to any field that allows multiple values e.g., node reference, file field, link, em_video, etc.
[I'm beginning to think there must be some wicked problem somewhere or this would already exist...]
Comment #3
quicksketchSee #480508: Create a "has file" filter/sort (then expose it to the user), since this is a general FileField issue, not something specific to ImageField.