You are using show=ne(($node.object.data_map.image.content)}
Isn't that the same as saying if there's no image, show the image? Or am I missing something essential here. (It's late and I'm dead tired...)
Anyway here's the "official" method of checking if there's an image. Taken from the "New image system" infopage.
{let content=$node.data_map.image.content}
{section show=$content.is_valid}
We have an image.
{section-else}
No image has been uploaded.
{/section}
{/let}
I've used it a lot and it works for me.
best regards trondåge
trondåge
You must be logged in to post messages in this topic!