• Hi I was wondering if anyone has come up with a similar problem.

    I am looking for a way to use <?php echo nggShowSlideshow($galleryID, $width, $height) ?> or some similar code in my gallery.php template to show a slide show on the page. I can use the code mentioned above but it pull through all images from all galleries so I some how need to pass the gallery ID to it via a custom field on each page that a gallery is meant to be on.

    To explain I have had to take this approach as I am pulling through the gallery description and title from each gallery through onto the page via my custom gallery.php template which works fine in standard gallery view (thumbnail with lightbox pop up) but as soon as you change the option in Nextgen gallery settings to display the gallery as a slideshow for some reason is stops puuling through the gallery description and title?

    Would prefer to find a solution to the later issue but if anyone has any ideas either way it would be apprciated?

    Andy

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you sure that all images are shown when you setup the correct $galleryID ? can you post a a sample

    Thread Starter i-am-andy

    (@i-am-andy)

    Hey Alex, great plugin.. all cool now, after a bit of playing around with it I found out that this works

    <?php echo nggShowSlideshow($gallery->ID,$width, $height) ?>

    when I was using the example in the top of the functions file originally like this

    <?php echo nggShowSlideshow($galleryID, $width, $height) ?>

    I am a designer not a programmer so do not understand what I have done, I just tend to start playing with stuff and see what happens which usually works… haa! Anyway great plugin but could definitely do with a bit more documentation on manually coding templates side of things.. example can be seen here.

    http://www.michmich.co.uk/weaving/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Slideshow Template Code’ is closed to new replies.