Welcome Guest, Not a member yet? Register   Sign In
url-title?
#1

[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:imgsizerConfusedize src="{event_photo}" alt="{title}" width="300" height="450" class="displayBlock" quality="100"}
{if:else}
<img src="/images/_pages/_global/placeholder.jpg"/>
{/if}
#2

[eluser]CroNiX[/eluser]
Same as your other post - I'd ask in an EE specific forum for help with that product.
#3

[eluser]aling01[/eluser]
Thank you very much!




Theme © iAndrew 2016 - Forum software by © MyBB