0

I have a content type with an image field that allows multiple values. I have a View that displays the images using Views Slideshow.

If there is only one image added to a node, I just want to display it as a static image. If multiple images have been added, I want to display the slideshow View.

I'm using a Panels Page override for this content type, so I can use a visibility rule for the Views slideshow pane (i.e. only display if number of images > 1). But I'm not sure how to check the image field to see if there is more than one image for the current node?

Am using Drupal 7.

1 Answer 1

1

I think you'd have to do some custom coding to get that result. To simplify, you'd have to make a separate field for the single image option.

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.