[eluser]aling01[/eluser]
I have an event block that displays images.
I want to have 3 options:
- if event has image, display that image
- if event url title has a certain keyword, display that image
- else display a placeholder image
I don't know how to write the 2nd option to the existing code:
{if event_photo}
{exp:imgsizer
ize src="{event_photo}" alt="{title}" width="300" height="450" class="displayBlock" quality="100"}
{if:else}
<img src="/images/_pages/_global/placeholder.jpg"/>
{/if}