Not sure if I’m doing this right but it works.
Here is the Ditto call I used:
[!Ditto? &id=`news` &parents=`[*contentIDOne*]` &tpl=`newsHomeTpl` &showInMenuOnly=`1` &sortDir=`DESC` &paginate=`1` &display=`10` &paginateAlwaysShowLinks=`1` &tagData=`tags` &tagDelimiter=`,` &tagDocumentID=`55`!]
Which used to reference this template:
<div class="textBlock1 news">
<a href="[~[+id+]~]"><h2>[+title+]</h2></a>
<a href="[~[+id+]~]"><img class="floatLeft" src="[+introImage+]" alt="[+introImage+]" width="190" height="115"/></a>
<p class="newsDetails">Posted on [*createdon:date=`%B %d %G`*] | Tags: [+tagLinks+]</p>
<p>[+introtext+]</p>
<p><a class="small green button" href="[~[+id+]~]" title="[+longtitle+]">View more »</a></p>
</div>
And here is an updated template with a PHx call replacing the [+introImage+] placeholder above:
<div class="textBlock1 news">
<a href="[~[+id+]~]"><h2>[+title+]</h2></a>
[+phx:if=`[+introImage+]`:is=``:then=``:else=`<a href="[~[+id+]~]"><img class="floatLeft" src="[+introImage+]" alt="[+introImage+]" width="190" height="115"/></a>`+]
<p class="newsDetails">Posted on [*createdon:date=`%B %d %G`*] | Tags: [+tagLinks+]</p>
<p>[+introtext+]</p>
<p><a class="small green button" href="[~[+id+]~]" title="[+longtitle+]">View more »</a></p>
</div>
I suspect I could’ve put the PHx call into the Ditto call but I couldn’t find any info on how to do - plus this seems to work, even on the tags page so I’ll just go with that.
If anyone knows how to do this properly - sing out!