Avoid display an image (possibly a div) when variable null/empty

I’ve got data where some could be null (ex.: no image provided).
How to avoid to display the whole div or image to avoid something like :

Use visibility conditions under Advanced tab for that specific tag.


Only issue is that we are missing the variable button there, so either you try on your own or give me some time to implement variables there as well.