Hi Julie
1. This isn’t possible, but you could add all galleries to an album and display the album. I will have a look if we can include this in the future.
2. You can select Recent Images in the slideshow widget options, but you’ll have to add the link yourself (with a Text Widget, for example).
Hi
thanks for your answer and your help.!
Maybe can y code the page with a loop (foreach) to display all galleries ?
foreach ()
[nggallery id=$gal]
Could you help me with that ?
Anyway thanks again for your quick answer !
Julie
Hi Julie
I made a quick solution for you! Here’s what you do:
- Make a new page template. More information on that is available here.
- Add this code to your template, at the end of the content div (often right before </div><!– .entry-content –>):
<?php
global $nggdb;
$galleries = $nggdb->find_all_galleries();
foreach ( $galleries as $gallery ) {
echo nggShowGallery($gallery->gid);
}
?>
- Add this at the very top (after the <?php tag):
/*
Template Name: All images
*/
- Make your page and select All Images as a theme.
Hopefully this works as a temporary solution. I will have a look to see if we can’t include something like this in a future update π
Hi !
Thanks it works !
can you tell me if i can use this [imagebrowser]
instead of the slide Show ? (it’s not working, i juste have the link [Show picture list] and not directly the slideshow
i have to replace nggShowGallery ?
but wow thanks a lot ! it’s perfect !
Julie
Hmmm, I’m not totally sure what you mean, but I’ve taken another look and came to this conclusion:
- If you want to use this with the ImageBrowser, replace nggShowGallery with nggShowImageBrowser. For a slideshow, use nggShowSlideshow.
- NOTE: pagination (for galleries, imagebrowser) will NOT work, since you’re not using a shortcode (the same for the link to the slideshow)
Making all these things work requires more than this quick solution. For it to work, the plugin needs to be edited.
So, the only useful way to use it, is to disable pagination and display all images on one page.