WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] List just Albums…

[Plugin: NextGEN Gallery] List just Albums…

  • Jen2swt

    @jen2swt

    Hi Alex
    How can I list just the albums that I’ve created on a page that will link to the galleries under the albums on another page?

    I have an album called Photoshoots then under that I have different photoshoot galleries. I want to display a page that lists the albums…

    If I use [album id=1 template=extend] it just displays the galleries in that album.

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 11 replies - 1 through 11 (of 11 total)
  • I have been looking for a similar solution. I have just created a blog page where each post acts like an album intro. this then links to a page with a single album with the galleries listed. Hope someone else has a better solution

    Anything on this?

    Hey there,

    I got the NextGen Album displaying on WordPress 2.9.

    Just create a page called ‘Photos’ or ‘Gallery’.

    Then insert [album=1,compact] or [album=1,extend] into the page.

    Change the album number as required.

    Next, goto the Gallery > Album page from the left-hand menu in WordPress Admin and make sure all your galleries are added to your album.

    Now you will get a page displayed like this http://snowboardinjapan.com/?page_id=151 Now just make sure each gallery has at least one album in it so it displays a thumbnail pic for the gallery preview.

    Hope this helps!

    Cheers,

    Leigh.

    Thanks Leigh but that’s not what I’m looking for.

    What I’m looking for is having a page that links to the different albums and when the album linked is clicked it shows all the “galleries” under that album.

    All that does is display all the galleries…at least for me.

    Thanks for the help though.

    Still like to know without creating them manually.

    You need to create sub-albums and put those subalbums inside a main album

    I’d like to do this too. Bumping the question!

    Alex, would you look into this? It’s a bit strange to have created “albums” if we can’t display a list of it, the same way there are galleries and we can display a list of the galleries by using the album template shortcode.

    Thanks for your help!

    You can create a SQL hack (apart from wordpress);

    $prefix = "your_table_prefix";
    	$all = mysql_query("SELECT * FROM ".$prefix."_ngg_gallery");
    	while($album = mysql_fetch_object($all)){
    		echo "<li>".$album->title."</li>";
    	}

    willemvanleeuwen, can you tell us what this code is for, exactly?

    I have a similar problem: I want to list all my Albums with sub-Albums.

    So therefore, i created a “Main”-Album, which is displayed on my gallery-page, and then i added several albums to this Main-Album.
    Into these sub-Albums i put the galleries.

    Actually it’s working fine, except that there is no thumbnail on these sub-albums, though it has several galleries with pictures in it…

    I think this is a bug, right? I’d love to know how to fix this! It would solve all my problems right now!

    Nobody who can help me with this problem?

    I just want that thumbnails are shown on albums with sub-albums in it!

    if your galleries all have thumbnails, go to albums, edit album, then choose from one of the galleries under ‘choose preview image’ to give the album a thumbnail. you have to choose one that’s already one for a gallery, though.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: NextGEN Gallery] List just Albums…’ is closed to new replies.
Skip to toolbar