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

Hi,
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 :
image

Use visibility conditions under Advanced tab for that specific tag.

image

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.