Hi everyone,
a am currently setting up a website where I use getResources and Gallery. I have people which have galleries (no users, i just put them there). Every "People" has TV (from Gallery) and I gave them a TV like "GalleryID".
On the "People" page, I have this (single people are on the next level):
<div class="list-docs thumb grid">
[[!getResources?
&parents=`[[*id]]`
&tpl=`peopleGridItem`
&sortdir=`ASC`
&includeTVs=`1`
&processTVs=`1`
&includeContent=`1`
&depth=`0`
&sortby=`menuindex`
]]
</div>
and that peopleGridItem chunk:
<div class="list-item column span-6">
<h2>[[+pagetitle]]</h2>
<a href="[[~[[+id]]]]" title="[[+pagetitle]]">
[[*galleryitem]]
</a>
<p>[[+introtext]]</p>
</div>
I tried setting the output type of galleryitem to "image" and anything else, I get no image out of it. The current output is
If I use something this
[[Gallery? &album=`[[+tv.AlbumId]]` &useCss=`0` &containerTpl=`MediaPreviewAlbumTpl` &thumbWidth=`195` &thumbHeight=`140` &thumbTpl=`MediaPreviewItemThumb` &limit=`1`]]
I only get links to the gallery, not to the persons page.
If anyone has a clue - I would be glad
Cheers,
Guido