Numbered Image Navigation

Hello.

So far, I'm loving ZenPhoto. Building a very minimal theme to fit in the rest of my site and have tackled all of the needs down to this very last one. Haven't seen anyone else posting about this -- or perhaps the language I'm using to describe it is off -- so, that said, hopefully you fine folks will have a suggestion!

I'm presenting my images in a set sequence within specific series of images and don't want to use thumbnails for navigation. I'm looking specifically to have ZenPhoto generate links in the fashion of:

01 02 03 04 05 06 07 (and so on, up to the last image in the series)

Akin to: http://www.kropilak.com/?go=landings.01

Can ZenPhoto generate this? I imagine it can, given it knows the sequence and which image is the last in the series. I have little experience with PHP (outside of modifying it for my purposes, etc.), so your help is massively appreciated. Thanks!

Cheers
J

Comments

  • Apologies -- just found another post that mentioned (although it was not helpful to the original poster) this:

    `
    <?php $imgnr = imageNumber();
    $count =0;
    while (next_image(true)):
    $count++;
    if($count == $imgnr) {
    echo $count;
    } else {
    ?>
    " title="<?php echo getImageTitle();?>">
    <?php echo $count; ?>

    <?php }
    endwhile; ?>
    `
    This is exactly what I was looking for and can easily be adapted to a format that fits my design.

    Cheers
    J
Sign In or Register to comment.