Hi Bruno17
Ok, the thing is... i have a project page, with an image gallery where each image has 800px by 400px. What i want is get the first image of this gallery to the main projects page, where i show an image preview of all my projects!!!
To do this i´m using getpage/getresources (on the main projects page) and i use this call:
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`6`
&limit=`6`
&sortdir=`ASC`
&includeTVs=`1`
&processTVs=`1`
&tpl=`projectsTpl`
]]
The projectsTpl that i´m using (and need to use phpthumbof) is:
<!-- START ITEM -->
<div class="project-item">
<div class="project-image">
<a href="[[~[[+id]]]]"><img src="[[!getImageList &limit=`1` &tvname=`gallery` &tpl=`projectsTpl` &docid=`[[+id]]`]]:phpthumbof=`w=280&h=280&zc=1&aoe=0&far=0`" alt="[[+tv.main-content-title]]" class="fx7"/></a>
</div>
<div class="project-caption">
<h4>[[+tv.main-content-title]]</h4>
</div>
</div>
<!-- ENDS ITEM -->
Sorry about my english and many thanks to your reply