Hi there,
I'm building a standard extract list with getResources (1.4.2). Inside my "tpl" I have a chunk with properties and this where my problem start. I have no problem with the output except for the images:
• I'm forced to use uncached getResources call, otherwise the images looks really strange.
• I get duplicates of the first image for each item (text and links are still correct).
The item template
<li>
[[$img &width=`200` &height=`100`]]
<p>[[+introtext]]</p>
<p class="more"><a href="[[+link]]">[[+linkTitle]]</a></p>
</li>
The image chunk
<img src="[[*img:empty=`[[+img]]`:phpthumbof=`w=[[+width]]&h=[[+height]]&q=[[+quality:default=`85`]]`]]" width="[[+width]]" height="[[+height]]" />
If you wonder why I'm doing this -it's because I would like to control all image tags from one single place. This way I can change the image-quality or default format for the whole website in a really fast way.
If you have a solution please help.
TIA // T
[ed. note: tomahl last edited this post 14 years, 8 months ago.]