Hi All. What I'm trying to do is this: I have two image fields. If image field number one has content (is filled) I want it to display and the 2nd image field to be hidden. If image field number 1 is empty I want image field number two to display. I can't seem to get this module to do this. Is this do-able?

Comments

tedwyer created an issue. See original summary.

Subhransu.addweb’s picture

For your purpose please follow the below steps:

1) Install view Views Conditional module.
2) Add both image field in view.
3) After that add "Views: Views Conditional" Field and setting
"If this field... " = (Select first image field firm dropdown.).
"Is..." = "Empty".
"Then output this..."=(put second image field that get form Replacement Variables)
4) Please check your output.

Hope this helps you.

Thanks!

tedwyer’s picture

Hi Denisha. Thanks for the suggestion. I tried it and the result is that when both fields are not empty, both display. I need one or the other but never both.

Subhransu.addweb’s picture

Hi Tedwyer, make second image "Exclude from display ", and recheck.

Subhransu.addweb’s picture

Status: Active » Needs review