[Plugin: NextGEN Gallery] List just Albums... (12 posts)

  1. Jen2swt
    Posted 6 years ago #

    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.


  2. fanale
    Posted 6 years ago #

    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

  3. Jen2swt
    Posted 5 years ago #

    Anything on this?

  4. leighburke
    Posted 5 years ago #

    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!



  5. Jen2swt
    Posted 5 years ago #

    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.

  6. Jen2swt
    Posted 5 years ago #

    Still like to know without creating them manually.

  7. grtwordpress
    Posted 5 years ago #

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

  8. karlotta
    Posted 5 years ago #

    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!

  9. willemvanleeuwen
    Posted 5 years ago #

    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>";
  10. pReya
    Posted 5 years ago #

    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!

  11. pReya
    Posted 5 years ago #

    Nobody who can help me with this problem?

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

  12. emilyalone
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.