Hello,
It is not an issue, but a logical problem that i try figured out.
How can i limit the images to max. 15 images in the Filelist loop?
I know there is a runtime variable FileListCount.
But i don't know how to use for limit max. number of images.
At the moment i have this piece of code, and works very good, but doesn't limit the images:
<@ filelist {
glob: @{ files | def ('*.jpg') }},
sort: 'asc'
} @>
...
<@ foreach in filelist @>
<a href="@{ :file }" ><img src="@{ :file }" alt="@{ :caption | stripTags }" title="@{ :caption | stripTags }" /></a>
<@ end @>
Maybe someone can help me?