Hello,

I have a content type which has multiple image fields (multiple) for showing a car let's say exterior,interior,machine and rear of car image fields.
I need in the views listing the next image field to be shown in case the previous has no value. For example, if there is no image for exterior, the one for interior to shown etc... How can I do that? I tried with replacement tokens but the link is not clickable in the views settings forms. Any solutions?

Thanks in advance

Comments

m_dimitris created an issue. See original summary.

srilakshmier’s picture

Status: Active » Needs review

Hi,

You can add all the image fields in the views fields and then in the No results behavior for each field you have to check Hide if empty so that only the existing images will be displayed. Hope this helps.

renatog’s picture

Status: Needs review » Reviewed & tested by the community

#2 of srilakshmier rally makes sense.

Thank you for your help.

renatog’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.