This is a fairly simple one but I just need to confirmation on how to check if a custom channel field contains something and if not then provide a fallback like this:
{if food_product_image}
{food_product_image}
{if:else}
/assets/images/no-image.png
{/if}So if {food_product_image} has been uploaded then display that. If not then display a fallback image. The above doesn’t seem to be working an neither do the comparison operators I’ve tried like == true or ==false or != true etc.