WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » [Resolved] [Plugin: NextGEN Gallery] Access Gallery Images from Album Template

[Resolved] [Plugin: NextGEN Gallery] Access Gallery Images from Album Template

  • 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 ‘[Resolved] [Plugin: NextGEN Gallery] Access Gallery Images from Album Template’ is closed to new replies.
Skip to toolbar