I have a CMS Collection with an optional image field. What I would like to do is show a default image if there is no value in the CMS field for image. Is that possible? I am using a DIV with a background image if that matters.
Add image (or div1 with background) for “
is not” set. Like this, you get “placeholder”.
And regular image (or div2 with background) to show only if “
By background image its more tricky (No way to create Conditional CSS properties (yet)).
So use “is not” as regular image element (If there is nothing inside this bg-image div - use two divs & two backgrounds).
Works perfect. Thanks so much!