Trial and error here… if i use the following then i get the desired effect.. but its the same for every category..
{categories}
{if print-orientation == "Portrait"}
<div class="printimage fp">
<a href="http://{print-img}%22rel=%22example_group" rel="example_group" title="{title}">{exp:ed_imageresizer image="{print-img}" default="" maxHeight="360" alt="{title}"}</a>
</div>
{/if}
{if print-orientation == "Landscape"}
<div class="printimage">
<a href="http://{print-img}%22rel=%22example_group" rel="example_group" title="{title}">{exp:ed_imageresizer image="{print-img}" default="" maxWidth="360" alt="{title}"}</a>
</div>
{/if}
{/categories}so no good really…
if i then put back in the {if category_id ==}
{categories}
{if category_id == "6" OR category_id == "7"}
{if print-orientation == "Portrait"}
<div class="printimage fp">
<a href="http://{print-img}%22rel=%22example_group" rel="example_group" title="{title}">{exp:ed_imageresizer image="{print-img}" default="" maxHeight="360" alt="{title}"}</a>
</div>
{/if}
{if print-orientation == "Landscape"}
<div class="printimage">
<a href="http://{print-img}%22rel=%22example_group" rel="example_group" title="{title}">{exp:ed_imageresizer image="{print-img}" default="" maxWidth="360" alt="{title}"}</a>
</div>
{/if}
{/if}
{/categories}then it shows nothing at all…
so if i then just put in
{categories}{category_id}{/categories}it finds the correct category_id which is 6
so something has changed between 2.1.3 and 2.2.1 with the way it deals with the multi conditionals or something.. as as soon as i put the {if category} back in.. bearing in mind ive just seen it say its category_id 6 then it just doesnt cope with it at all..
{categories}
{if category_id == "6" OR category_id == "7"}
{if print-orientation == "Portrait"}
<div class="printimage fp">
<a href="http://{print-img}%22rel=%22example_group" rel="example_group" title="{title}">{exp:ed_imageresizer image="{print-img}" default="" maxHeight="360" alt="{title}"}</a>
</div>
{/if}
{if print-orientation == "Landscape"}
<div class="printimage">
<a href="http://{print-img}%22rel=%22example_group" rel="example_group" title="{title}">{exp:ed_imageresizer image="{print-img}" default="" maxWidth="360" alt="{title}"}</a>
</div>
{/if}
{/if}
{/categories}