Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Index of current picture

Daan Raman

Oct 14, 2014 05:18PM EDT

HI There

I am using <li>{{ album.context.position }} / {{ album.counts.images }}</li> in my theme to get the current position of an image in the album, and the total of images in the album (so visitors see for example 4 / 5 when they are at picture 4 of a total of 5 in an album). However, {{ album.context.position }} does not appear to work, whereas {{ album.counts.images } does show the total correctly. Can you tell me what I am doing wrong? Thanks!

Up 0 rated Down

Daan Raman

Oct 14, 2014 05:56PM EDT
Found it myself! I accidentally posted in the wrong section so feel free to move this to "templates":

<span id="cur_img_index">&nbsp;</span> / <span id="cur_img_total">&nbsp;</span></li>

<koken:pulse jsvar="pulse" group="albums" next="#sldshw-next" previous="#sldshw-prev" toggle="#sldshw-play" link_to="advance" />

pulse.on( 'item', function(e) {

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found