I have a portfolio page with small boxes with a image and link. This seems (after struggling in code) to work, but the image don't work.
For each porject on the portfolio page:
[[!Gallery? &album=`[[+tv.gallery]]` &limit=`1` &thumbWidth=`870` &thumbHeight=`400` &thumbZoomCrop=`2` &toPlaceholder=`projecten`]]
<li class="[[dynamicWidget]]" id="[[+tv.category]]">
[[!+projecten:notempty=`
<div class="item">
<a href="[[~[[+id]]]]" title="[[+description]]">
<img src="[[+projecten.image]]" alt="[[+description]]" />
</a>
</div>
`]]
</li>
( i'm using the default gallery function) thetv.gallery is the id of the gallery wich i like to use, but now i takes only the first album, not the first picture of a project.
It works, but only the selected image is not the album's first item (tv.gallery) but the first or second image in that album.
So: - i have 2 pages with each a gallery witht to images - the code gives me the first album with picture 1 and picture 2.
How to solve this, please give me some advice because i really want this script to be finished. thanks