Hmm - so i’ve been trying out various combinations of the conditionals - and keep drawing a blank (literally!) anyone got any ideas about why:
{exp:weblog:entries weblog="home" }
{reverse_related_entries}
{if count >= "1"}
<div class="span-24 last">
<hr >
<div id="slider">
{/if}
<a href="http://{path={url}{weblog}/{url_title}}">_ {image}_ {if homepage_image !=''}_ {exp:imgsizer:size src="{homepage_image}" width="950px" height="400px" base_path="/home/printclub/NV6S9T0F/htdocs/" base_cache="/home/printclub/NV6S9T0F/htdocs/alpha/images/sized"}_ {sized}</a>
{if:else}
{exp:imgsizer:size src="{image_file}" width="950px" height="400px" base_path="/home/printclub/NV6S9T0F/htdocs/" base_cache="/home/printclub/NV6S9T0F/htdocs/alpha/images/sized"}
{sized}</a>
{/if}
{/exp:imgsizer:size}
{/image}
<div id="htmlcaption_{entry_id}" class="nivo-html-caption">
<em>{weblog}: </em><a href="http://{path={url}{weblog}/{url_title}}">{title}</a>
</div>
{if count==total_results}
</div>
</div>
{/if}
{/reverse_related_entries}
{/exp:weblog:entries}Would result in the ‘white-screen of a conditional error’?
If its useful - i’m using Pixel and Tonic’s Playa and Matrix - and both the
{image_file}{homepage_image}work beautifully when stripped out of the if, if:else conditional… and taking the ‘if count == total_results out of the equation makes no difference.
In an ideal world (and which doesn’t seem to work) I would love to
{image}
{exp:imgsizer:size src="{if homepage_image !=''}{homepage_image}{if:else}{image_file}{/if}" width="950px" height="400px" base_path="/home/printclub/NV6S9T0F/htdocs/" base_cache="/home/printclub/NV6S9T0F/htdocs/alpha/images/sized"}
{sized}</a>
{/exp:imgsizer:size}
{/image}
I’m trying to set up a system where the user is able to relate an item to a homepage slideshow - but allows for a specific homepage slideshow image to be used in case the imd Sizr crop isn’t acceptable.
Any help much appreciated.
James