I have a nodes that involve multiple photos, but when I display the node in a view I only want the first photo to be displayed.
When someone clicks a photo or the nodes title it will take them to that nodes page where they will see all of the node's photos.

In D6 there was a setting for this called "Group multiple values"
I would select
Show 1 value(s)
and
Starting from 0

This would only display the first uploaded image. Can't find this option in D7 am I missing it?

Comments

john_j’s picture

If you edit the view, under page display, for basic settings there is an option called use pager. You may want to take a look at that. Under advanced settings, there is an option for 'use grouping'.

jtunney1’s picture

Didn't see that group by option, thank you, but I still can't figure it out.

drummondf’s picture

sorry, i cant help you with this, im still using d6, but I wanted to let you know that you answered my question! i was looking for the "group multiple values" option - thank you!

Ask me about marketing

mjohnq3’s picture

In Views for D7 it's on the image field settings page under Multiple Field Settings, as shown here: http://www.imageno.com/ixiwjzj8liwspic.html

jordojuice’s picture

Are you using Row Style: Node? This will make it difficult to limit the display in this way. If that is the case you should switch to fields and just select the fields you want to display. I'm still using 6.2 though too so what do I know? Could be wrong.

Salif’s picture

This is what I've done in catalog views
Is there somme thing beter?

Under FORMAT
Format:Grid | Settings
Show:Fields | Settings

Under FIELDS

Content: Image

  • Clic on Content:Image
  • Check MULTIPLE FIELD SETTINGS
  • Check Simple separator
  • Empty the Separator field
  • Enter 1 for the Display value(s) instead of "all"
  • Leave default the "starting from (first item is 0)" to start with the first image
  • Save views

Salif

robertoguzman’s picture

which version of views apply this recommendation ?

jacobstow’s picture

Was wondering the same thing and Salif's method works perfectly for me.
(Using Drupal 7.14 and Views 7.3.3.)