Hey,
I scrolled through gallery documentation but didn’t find anything like this.
I would like to output album image count in front-end, so when album gets displayed, image count of that album gets displayed below thumbnail.
Is this possible ?
Chunk:
<div class="albumPreview">
<h3><a href="[[~[[*id]]?&[[+albumRequestVar]]=`[[+id]]`]]">[[+name]]</a></h3>
<div class="thumb">
<a href="[[~[[*id]]?&[[+albumRequestVar]]=`[[+id]]`]]"><img src="[[+image]]" alt="[[+name]]"/></a>
</div>
<div class="desc">
<strong>[[+imagecount]]</strong>
<p>[[+description]]</p>
<a href="[[~[[*id]]?&[[+albumRequestVar]]=`[[+id]]`]]" class="view">View gallery</a>
</div>
</div>
my solution for getting the total number of images in an album just needs [[+albumCount]].
See it in action at
http://www.darrenjehan.me.uk/gallery-home.php
formerly sumodaz on here!