WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Access Gallery Images from Album Template (2 posts)

  1. designoahu
    Member
    Posted 3 years ago #

    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.

  2. designoahu
    Member
    Posted 3 years ago #

    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);
    }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.