I’m trying to get the following code to work but to no avail:
{if article_photo}
{exp:imgsizer:size src="{article_photo}" width="450" height="300" alt="{title}" base_path="******" class="load" base_cache="******"}{/exp:imgsizer:size}
<cite>{article_photo_caption} {if article_photo_credits}({article_photo_credits}){/if}</cite>
{if:elseif article_gallery}
<div id="slider">
{article_gallery}
{exp:imgsizer:size src="{cell_1}" width="450" height="300" alt="{cell_2}" base_path="*******" base_cache="*******"}{/exp:imgsizer:size}
{/article_gallery}
</div>
{if:elseif article_gallery && article_photo}
<div id="slider">
{article_gallery}
{exp:imgsizer:size src="{cell_1}" width="450" height="300" alt="{cell_2}" base_path="*******" base_cache="*******"}{/exp:imgsizer:size}
{/article_gallery}
</div>
{if:else}
{/if}Everything works accept the {if:elseif article_gallery && article_photo} part. I’m thinking something might be wrong with my logic but I’m not seeing it. Need a fresh pair of eyes.
Thanks!