If image link broken...show

First off…BEST PRODUCT ON THE MARKET. You guys are amazing…Now to business.

We have a table that displays images, sometimes someone inputs a bad image or we move it. Bad habits I know but is it possible to have ( if link broken or null, use this ) type of option?

Thanks for any responses and happy holidays.

2 Likes

easy way default value for your database field

In server connect there is an “if file exists” option where you could use a condition, this way if the file path from the database does not physically point to a file that exists on the server you can tell it to do something else like use a different path to a default placeholder image.

1 Like

Thank you both. Good suggestions but I could not locate “if file exists” in server connect on Wappler?

Here is a screenshot of it.

THANK YOU BOTH. Both solutions worked.

1 Like