prev/next image with thumb on image page?

Hi,
i have tested the "paged-thumbs-nav" but thats not realy what i need. I think, the "paged-thumbs-nav" function works not correctly.

The "paged-thumbs-nav" display everytime the current thumb, not only the prev and next thumb.
Click on a prev or next thumb will not loaded realy the prev or next image page, only switch between the displayed thumbs. Don't load the next and next and next thumb or prev and prev and prev thumb.
On the first image page, the text for prev is double.
The counter is very crazy.

OK, for whatever this function should be good. I'm looking for another, similar, function.
Is there a function that can always display only a linked thumb of the previous and the next image page in image pages? In the first and last image page then logically none, or start or end text. I have this in my current photo gallery and thats great. But I do not feel like coding a lot. This is always such an update barrier.

Comments

  • acrylian Administrator, Developer

    The function is meant to display a list of thumbs that equals a certain number or "page of x thumbs". Its own prev/next switches the "thumb page", not the single prev/next image. There are separate prev/next for this.

    What you wish can be done but there is not one single function. You will have to do some coding. Here the simple template (similar for prev).

    <?php if (hasNextImage()) { ?> <a href="<?php echo html_encode(getNextImageURL()); ?>" title="<?php echo gettext('Next image'); ?>"> <?php echo gettext('Next »'); ?> <img src="<?php echo html_encode(pathurlencode(getNextImageThumb())); ?>"> </a> <?php } ?>

  • Wow! Thats realy great! Many thanks! Good work.
    A little question about that: Will the order sorted in the backend be kept, or will it be ignored?

  • acrylian Administrator, Developer

    The order on the backend will of course be kept. There are two: The one on the thumb list within an album is for the front end. And on the image editing list there is a sort order that is only for the backend itself. But that is actually noted.

  • OK. Thanks.
    Off Topic Question: How can I sort the images when editing images in the same order as for the front view?

  • acrylian Administrator, Developer
    edited February 2018

    Choosing "manual" on the drop down top right ("display images by") would give you a manual sorted order. If you are using a general order, you have to pick the one yourself.

  • OK, "manual" is the magic word. Thank you!

Sign In or Register to comment.