1

I've created a view mode to display a value multivalue image field. The rendered entity utilizes display suite to display the images. There are 12 images in this field for this all of the nodes of this content type.

Is it possible to just display one image instead of the 12 as a code field in display suite? If so how does one do that.

2 Answers 2

1

There is an extra textfield on the manage display screens to limit the output per field where it says # change for a number so you can limit the results. You can also see this video to see how it works Limit the number of fields to display on Field UI with Display Suite

There is another video from a drupalcon that I love the way they explain how to render the content in display suite if you need more information.

take-full-control-your-site-layout-display-suite-drupal-7

3

When you have a multivalue field, you have also a # on the format column. It represents all images. If you want to show only one or two images, you must write 1 or 2 in the box.

Good luck

Your Answer

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

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