Thanks lukemcd, but I can't get mine to work.
I have this on the home page to pull Articles from articles pages.
[[!getResources? &parents=`1` &limit=`10` &tpl=`newsTPL` &includeContent=`1` &showHidden=`1`]]
This is my newsTPL chunck:
<div class="news">
<img src="[[getResourceField:default=`/images/pic-placeholder.png`:phpthumbof=`w=220&h=180`? &field=`ArcticleImage` &isTV=`1`]]" />
<div class="story">
<div class="date">[[+publishedon:strtotime:date=`%b %d %Y`]]</div>
<h2><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h2>
<p class="summary">[[+introtext]]</p>
<p class="readmore"><a href="[[~[[+id]]]]"><span>Read more »</span></a></p>
</div>
[[$share]]
<div class="clear"></div>
</div>
<hr/>
I want it towards if there is no main picture on the article page it will default to pic-placeholder.png. Any help on that would be much appreciated. Thanks!