NextGen gallery 2+

rob's Avatar


30 Oct, 2013 08:54 PM

If you could link the RoyalSlider WP edition with NextGen 2.0+ that would be great.
This is a great combo if you have many categories and images - Nextgen is very good for organizing and moving images from one gallery to another, while of course your RoyalSlider is awesome at displaying the images....


  1. Support Staff 1 Posted by Dmitry Semenov on 31 Oct, 2013 08:13 PM

    Dmitry Semenov's Avatar


    Thanks for feature request, it's under development, will be released in about a week.


  2. 2 Posted by rob on 31 Oct, 2013 08:20 PM

    rob's Avatar

    Thanks so much... Fantastic news!
    I had RS js version working with NextGen 1.9 but the move to NG2 changed so much I find it not worth pursuing. So I have a site stuck at Wordpress 3.4 as a result.

    Having a connection between the 2 is going to be big for you I hope!

  3. Support Staff 3 Posted by Dmitry Semenov on 31 Oct, 2013 08:34 PM

    Dmitry Semenov's Avatar

    if you wish it right now, you may generate the markup by yourself via PHP and initialize slider manually

  4. 4 Posted by rob on 31 Oct, 2013 08:43 PM

    rob's Avatar

    Thanks - but I do not know where to add the code to display it - with version 1.9 I had a folder in my theme called nggallery - NextGen would pickup the gallery.php from there and use it for displaying the images.
    something like:

    <?php if (!defined ("ABSPATH")) die ("No direct access allowed"); ?><?php if (!empty ($gallery)) : ?>
    <div id="gallery-1" class="royalSlider rsDefault">
     <?php foreach ( $images as $image ) : ?>
        <div class="rsContent">
            <?php if ( !$image->hidden ) { ?>
            <a class="rsImg" href="<?php echo $image->imageURL ?>"></a>
            <img class="rsTmb" src="<?php echo $image->thumbnailURL ?>"/>
            <?php } ?>
        <?php endforeach; ?>
    <?php endif; ?>

    Now it is ignored.
    Also there were issues with Facebook not seeing the images on these pages for use when 'liking' etc.

    So I do not know how to display RoyalSlider with NextGen 2+


  5. 5 Posted by rob on 31 Oct, 2013 09:12 PM

    rob's Avatar

    Hi Dmitry,
    I found this article:
    and see now how they changed this:
    Rename “gallery.php” to “gallery-templatename.php”

    To use, use this shortcode: [ nggallery id=1 template=templatename ]

    This now works, but I still think a connection through WordPress is stronger.

    As always, thanks for your assistance.

  6. 6 Posted by rob on 13 Nov, 2013 07:24 PM

    rob's Avatar

    Has this feature been implemented?

  7. Support Staff 7 Posted by Dmitry Semenov on 13 Nov, 2013 08:33 PM

    Dmitry Semenov's Avatar

    @Rob, update is under CodeCanyon review, should be out soon. Can't tell you exact date, but usually it takes 2-4 days.


  8. 8 Posted by rob on 13 Nov, 2013 08:38 PM

    rob's Avatar

    Fantastic - thanks!

    Will buy for a new build ASAP!


  9. Support Staff 9 Posted by Dmitry Semenov on 18 Nov, 2013 09:35 AM

    Dmitry Semenov's Avatar


    Just a heads-up that RoyalSlider now supports NextGEN gallery (both v2.0 and v1.x), update is free, see changelog for details -


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac