The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] NextGEN Gallery - Image browser: go to next picture instead of image effect (4 posts)

  1. paolos
    Posted 7 years ago #

    I am using the [imagebrowser=id] in a page. When I click on a picture, instead of open any pop-up window or a new browser tab, I'd like to simply go to the next picture.

    Any ideas would be most grateful!

  2. paolos
    Posted 7 years ago #

    Hey ... is there anybody here?

  3. paolos
    Posted 7 years ago #

    open view/imagebrowser.php and change this line:

    <div class="pic"><?php echo $image->href_link ?></div>


    <div class="pic">next_image_link ?>"><img alt="<?php echo $image->alttext?>"src = "<?php echo $image->imageURL ?>"/></div>

  4. emila3
    Posted 7 years ago #

    A slightly expanded version worked for me:

    <a class="ngg-browser-next" id="ngg-next-<?php echo $image->next_pid ?>" href="<?php echo $image->next_image_link ?>"><img alt="<?php echo $image->alttext?>" src = "<?php echo $image->imageURL ?>"/></a>

Topic Closed

This topic has been closed to new replies.

About this Topic