adding (1 of 200) to breadcrumb line in image

I am tweaking a theme (cimi) and i would like to add the position of the image in the album to the breadcrumb line, so it would look like this:

gallery:album:image (x of yyy)

where x is the image offset and yyy is the number of images in the album.

however, numImages does not seem to work in the album context, and i don't see an imageNum method.

would i have to write a php function to do this? if so, how would that be put in the theme in order to play well with others?

i'm just starting to play around with this. i may have to jump in and learn php..

tia,

doug

Comments

  • You want to edit image.php to do what you want. Your breadcrumb section should look like:

    <div id="breadcrumb">
    <div class="left">">home > "> <?php printAlbumTitle(false);?> > <?php printImageTitle(true); ?> (<?php printImageSortOrder(true);?> of <? $number = getNumImages(); echo$number; ?>)</div><div class="right dark">use arrow keys to navigate </div>
    </div>
Sign In or Register to comment.