I've created a view for a group of nodes, what I want to do is output the image just for the first result rather than all of them.

Currently I'm using CSS to hide all except the first but that isn't ideal.

2 Answers 2


Display Suite provides this functionality. Just install DS, then, in your view, choose "Display Suite" under the option for "Show":

enter image description here

In the settings for that option you can choose a different view mode for the first item in your list:

enter image description here


(d8/9/10) Single Image https://www.drupal.org/project/single_image_formatter module provides formatters for Image, Media and Responsive image field, that displays only first value of multi-valued fields.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.