• Oooookey, this one has been racking my brain and google yields no answers.

    What would be the code to link to a gallery ID’s most recent picture?

    Here’s my site page:
    https://www.portablespacemuseum.com/wordpress/green/?pid=178

    It’s a webcomic being run with NGG, I need the top links to go the a page with the most recent picture.

    I managed to get ‘first’ and ‘last’ buttons with a code like this:

    <a class="ngg-browser-next" id="ngg-last-<?php echo $image->last_pid ?>" href="<?php echo $image->last_image_link ?>"><?php _e('Last', 'nggallery') ?></a>

    So its gotta be possible. Any idea’s?

  • The topic ‘NextGEN Gallery – How do you link to 'latest picture'’ is closed to new replies.