I'm sure this is a basic question (EE is not my bag): I am trying to create a fallback for an image's alt text where if the image does not have a description then to use the title of the entry in its place.
But obviously if I use
{image}
<img src="{url}" alt="{if description}{description}{if:else}{title}{/if}">
{/image}
Then it uses the image's title.
How do I make it display the entry title instead?
TIA.