Firstly - to echo most of the other comments - this is a great addition, many thanks.
I have the TV set up and working just fine, but I have a question regarding how to reference the TV using getResources.
I have a container resource with an id of "122" inside which the client will have a number of resource documents, all using a template that has the imagelistTV assigned to it.
The call I use to populate the resource documents is:
[[getImageList? &tvname=`projectImagesTV`&tpl=`@CODE:<img src="[[+imageURL]]" class="slide"/>`]]
Then, in order to populate a list of links to these resources I’ve used getResources as follows:
[[!getResources?
&limit=`0`
&parents=`122`
&showHidden=`1`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
&tpl=`galleryTpl`]]
And finally, my galleryTpl is structured like this:
<li class="galleryItem">
<a href="[[~[[+id]]]]" class="galleryLink">
<img src="[[+imageURL]]" alt="[[+imageAlt]]" class="albumThumb" />
<span class="galName">[[+pagetitle:ellipsis=`30`]]</span><br />
</a>
[[+projectdate:notempty=`<span class="galYear">[[+projectdate]]</span>`]]
</li>
... apologies for the exhaustive scenario...
Almost everything is working perfectly, except for the "<img..." part of galleryTpl. What I’m trying to do is generate a specifically sized thumbnail (most likely with phpthumbof) of the first image added to the imagelistTV, but I can’t figure out how it should be done.
Can anyone offer some suggestions?