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:size src="{event_photo}” alt=”{title}” width=“300” height=“450” class=“displayBlock” quality=“100”}
{if:else}
/images/_pages/_global/placeholder.jpg
{/if}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.