WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. paolos
    Member
    Posted 5 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
    Member
    Posted 5 years ago #

    Hey ... is there anybody here?

  3. paolos
    Member
    Posted 5 years ago #

    open view/imagebrowser.php and change this line:

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

    with:

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

  4. emila3
    Member
    Posted 4 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