Posted by drupalprojects on April 5, 2012 at 9:00am
Hi
I'm usign Drupal 7 + Views.
I have a content type with Gallery field which is Image field with unlimited number of values.
I want to list the nodes with at least one image and hide nodes without images uploaded.
Let's say I have 2 nodes:
1) Page 1 with images
2) Page 2 without images
So I want page 1 without images to be displayed in view.
I've tried to add Filter Criteria: Content: Gallery (field_images:delta) - Is Not Empty and it works - Page 2 without images is not displayed anymore, but Page 1 appears twice. See attached screenshots.
Thanks!
Attachment | Size |
---|---|
view.png | 4.12 KB |
view_setting.png | 30.65 KB |