Only showing image component if there is data in the retool database

I am having trouble only getting the image preview to only show if there is data in that field in the database.

I want it hidden unless true that there is data for it to pull out.

Thanks in advance

{{self === null}} in the Hidden field

It is still showing the Image box when there is no image uploaded to visit 117

try {{item === null || item === 'undefined'}}

Unfortunately still nothing!

Are you applying the logic to the table component or to the image component?

I am applying it to the image component

OK got it

You can try what is the screenshot or try the following as well:

{{self.src === "" || self.src === null || self.src === 'undefined'}}

Neither worked. This specific visit does have a image attached.

I should note that I am using the mobile app builder.

try using what is in the Image URL field
Screenshot 2023-09-11 at 12.46.27 PM
and compare it using === "" || === null || === 'undefined' instead of using self