insert a default image when the field is emptytaking into a

insert a default image when the field is empty
taking into account that it is connected to the database
currently shows the images that are loaded in the database but if the field is empty it is shown in white.
I would like instead that a blank image containing the company’s logo should appear blank
I would like to know if you can help me with this problem
try to use an image upload but at the time of trying to establish a does not load the pages of the page, reload the page, delete and create the image upload, but the problem persists. so I’m choosing to create the function from the code,
although I have no idea where I should start, and how to call an image that is in the files loaded from the page from the code, I think it’s different to using $ W. I hope you can help me, thanks for your attention.

You can set the “src” field of an image via code, instead of connecting it directly, and that way you can check first if the dataset value is empty and set a different image in that case.
Check out:

and