Forums

NextGen gallery show all pictures (2 posts)

  1. svendsen
    Member
    Posted 3 years ago #

    Hi,

    i've been installing the NextGen gallery on my webpage, for the aesthetic value i've chosen only to have 6 pictures per page.. but i stil want the gallery to show all the pictures form the gallery when i click one? at the moment it's only showing the 6..

    the page is http://www.actionday.dk

    is this posible?..

    bedst regards
    - Mikkel

  2. mrthrust
    Member
    Posted 3 years ago #

    Hi Svendsen
    Ive also been using the next Gen gallery to manage all the images etc in our wordpress site..

    The best way i could find to control the images was to start of by making a base "page" -> Gallery,

    this file has its own template file, (ie: same as index.php) but instead of it calling the sidebar(); function, i used the

    <?php include(TEMPLATEPATH .'/sidebar_gallery.php'); ?>

    on this page i couldn't find any dynamic way of producing the Grid view images, so i just created a table and linked all my gallery thumbs to its own page,

    Each Gallery page is a sub-page of Gallery

    so the navigation would look like this
    -Gallery
    --Album1
    --Album2
    --Album3
    etc:

    within the sidebar of the gallery i used the code to grab only the child pages of the main page Gallery, to display a list of all the other albums within the Main Gallery

    <?php if($post->post_parent)
    $children = wp_list_pages('sort_column=menu_order&title_li=&child_of='.$post->post_parent.'&echo=0');
    	  else
          $children = wp_list_pages('sort_column=menu_order&title_li=&child_of='.$post->ID.'&echo=0');
    if ($children) { ?>
    <div class="sidebar-box">
    <h2>More Albums</h2>
    <ul><?php echo $children; ?></ul></div>

    The webpage is here for the example http://www.shugtech.co.uk/gallery

    If anyone else knows of a good way of displaying a Grid view: ie
    One page holds all the thumb nails from each album were each is linked to its own page or full album that would be good.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags