NextGen Smooth Gallery for Wordpress

Smooth Gallery is a nice little addon for the NextGen gallery, but I had a couple of problems getting it to do what I wanted.

First of all I got the error message “Sorry, NextGEN Smooth Gallery works only in Combination with NextGEN Gallery”. To solve this, I renamed the nextgen-smooth-gallery folder to nggsmoothgallery and the plugin activated no bother.

Then I couldn’t find the admin panel for the gallery in Wordpress. It turned out to be in the Settings area, rather than the Gallery area. Duh.

Finally, my images were displaying with a black border and background and I wanted to change this to white. To do this, look in nggsmoothgallery/SmoothGallery/css/jd.gallery.css and change instances of #000 to #FFF (or whatever your preferred colour is).

And I guess you could also customise the arrows by uploading your own images to nggsmoothgallery/SmoothGallery/css/img, replacing fleche1.gif, fleche1.png, fleche2.gif and fleche2.png.

Now if I could just work out how to change the colour of the info pane…

Update: The info pane properties can be changed in the same jd.gallery.css file. For .jdGallery .slideInfoZone, change “background” from #333 to your chosen colour – simple as that.

6 Responses to “NextGen Smooth Gallery for Wordpress”

  1. hubba says:

    hello would you know how to have a url in the info which can allow user to click on the link and be directed to another page?

    I am a novice here.. and I been starring at my blog for many many days.. I hope you can help me.

    cheers. hubba

  2. admin says:

    Hello Hubba, I’m not sure, but I’m working with Smooth Gallery at the moment and will comment here if I find an answer…

  3. admin says:

    Solution posted here!

  4. dave says:

    hello,

    ive been searching all over the web for a fix to the problem that you mentioned “Sorry, NextGEN Smooth Gallery works only in Combination with NextGEN Gallery”.
    i noticed that to fix the issue you say that you simply renamed the nextgen-smooth-gallery folder to nggsmoothgallery, and it allowed you to active. ive just tried this and i seem to still be having the same issue. i had recently upgraded to wp2.7, and i believe that im instlalling both latest version to nextgen, and the smooth gallery pluggin.
    im wondering if there is something that im doing wrong and or whether there is a certain order that i need to be doing this.

    i would appreciate any advice, thank you

    • admin says:

      Hmm… the site on which I got this working has NextGEN Gallery version 0.99.1 and NextGEN Smooth Gallery 1.0 and is running on Wordpress 2.6.5 – but I’d be surprised if the Wordpress version made a difference.

      I think my steps were: 1. Installed and activated NextGEN Gallery; 2. Created a sample gallery to make sure it was working; 3. Installed and tried to activate Smooth Gallery (failed); 4. Renamed Smooth Gallery folder and successfully activated.

      If it still doesn’t work, I suppose you could contact the plugin author – and let us know if you get any helpful advice.

  5. Thanks for the fix though I’m having troubles with proper sytnax. Can you help? I’m running WordPress 2.8.4 and the latest nextgen smoothgalley (1.2). Here’s a snippet of the code in question:

    $final = array();
    foreach($pictures as $picture) {
    $aux = array();
    $aux["title"] = $picture->alttext; // $picture->alttext;
    //$aux["desc"] = $picture->description;
    $aux["desc"] = html_entity_decode(stripslashes($picture->description));
    $aux["link"] = BASE_URL . “/” . $picture->path .”/” . $picture->filename;
    // $aux["img"] = BASE_URL . “/” . $picture->path .”/” . $picture->filename;
    $aux["img"] = BASE_URL.”/”.$picture->path.”/”.$picture->filename.’” class=”full” alt=”‘.$picture->alttext;
    $aux["thumb"] = BASE_URL.”/”.$picture->path.”/thumbs/thumbs_”.$picture->filename.’” class=”thumbnail” alt=”‘.$picture->alttext;
    //$aux["thumb"] = BASE_URL . “/” . $picture->path .”/thumbs/thumbs_” . $picture->filename;

    Thanks for any help!

Leave a Reply