[resolved] [Plugin: NextGEN Gallery 1.9.13] read out by code can not click next image (2 posts)

  1. michlHolzi
    Posted 1 year ago #


    i'am using the nexGen Gallery 1.9.13 (the older version) and read out the galleries by code with this lines:

    $newnggShortcodes = new NextGEN_Shortcodes;
    echo $newnggShortcodes->show_gallery( array("id"=>$currGalId,"template"=>"mygallery") );

    this works fine, i get the thumbs, but when i click on it, the next and previous button is not there. i check out the code, the rel tag is there

    <a class="cboxElement" rel="lightbox[set_10]" title=" " href="PATH-TO-IMAGE.jpg">
    <a class="cboxElement" rel="lightbox[set_10]" title=" " href="http://PATH-TO-IMAGE.jpg.jpg">

    if i use [nggallery id=10] in the post it works fine …

    thanks for your help

    ps: i also tried this with the same result echo nggShowGallery( $currGalId );

  2. michlHolzi
    Posted 1 year ago #

    I found the mistake, the problem was not nextGen Gallery, the problem was that i use the jquery colorbox and the colorbox recognized it as single picture.

Topic Closed

This topic has been closed to new replies.

About this Topic