I have a content type "banner" with Field Collection Fieldset, each fieldset is having a image upload field and a text field to enter node ID.

Eg output:

  • Image A, nid=1
  • Image B, nid=2
  • Image C, nid=3

I would like to have a view block, appearing in every page, and shows Image A when the page nid is 1, shows Image B when nid is 2.

I know this should be something related to filter or contextual filter, but I can't get the correct steps to configure. Is there any way to do it?

1 Answer 1


I think this is what you're looking for

Add a contextual filter of

content: nid

then do as the picture below.

enter image description here

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.