Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Access Gallery Images from Album Template

  • Resolved designoahu

    (@designoahu)


    Is there any way to get access to the images of a gallery when creating a custom album template? By looping through the $galleries I have access to count ($gallery->counter), but would like to have access to images that are contained with that particular gallery like the the gallery template.

Viewing 1 replies (of 1 total)
  • I was able to figure it out. If anyone is looking to do this, here is what I did.

    <?php
    foreach($galleries as $gallery){
        $images = nggdb::get_gallery($gallery->gid);
    }
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Access Gallery Images from Album Template’ is closed to new replies.