NextGEN Gallery v1.0.0 Beta 3

Here is a new beta version, it should fix a couple of bug’s. Thanks already for the feedback, I’m still waiting for the release of WordPress 2.7, so it’s time for you to help a bit with testing and bug hunting.

Tagged , ,

51 thoughts on “NextGEN Gallery v1.0.0 Beta 3

  1. Waikon says:

    Thanks! It works fine now.

    How can I put the EXIF data like aperture or shutter speed as the description below the image?

  2. Nice, media rss bug fixed. But do let me know why watermark doesn’t show up in zoomed up image; I use Lightbox Plus

  3. BlaKKJaKK says:

    Adding some rewrite rules for the Blog title for a better SEO (Will be continued…)

    That is the best news so far. My only wish list is for nice clean SEO friendly permalinks. With the current structure Google and other search engines just can’t see my gallery pages.

  4. BlaKKJaKK says:

    Ok kicked the tires. Not seeing any changes on the permalinks which makes me a sad panda. Not sure what others have said but would I would like to see something clean and simple like

    /album title/gallery title/page #

    By titles I mean the titles we input and not the album IDs. The result would simple and better SEO.

  5. Patriciya says:

    I have only 1 request. Please put maximum number of galleries in one album and allow pagination in the album page. Thanks!

  6. Cynthia says:

    I spent a couple of hours testing v1.0.0 Beta 3

    The only request is for being able to show thumbnail description under each thumbnail.

    Thanks very much for a great plugin.

  7. Seluna says:

    Me too, it would be nice if thumbnail description can be shown.

    It works wonderfully so far. ^^ Thanks for this.

  8. Edi says:


    would it be possible to put navigation with cursor keys from the keyboard to the gallery?
    or going to the next image by clicking on it instead of closing it?

    greetings Edi

  9. alex.rabe says:

    I added some rewrites to the page title, not to the permalinks. After release of V1.0.0, I will have some look again for permalinks, but I feel it’s a hard work…

    @Cynthia and Seluna
    Thumbnail description, EXIF or other infromation are possible , via the new flexible template engine. I will explain later more…

  10. Thomas says:


    thank you at first for the great plugin. I have tried it on my local installation and everything was fine. Using it on my server I got errors creating thumbnails concerning the safe_mode. I checked it but safe_mode is turned off.

    this is from info.php:

    safe_mode Off Off
    safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
    safe_mode_gid Off Off
    safe_mode_include_dir no value no value

    Another question: Does somebody know a tool to batch-create thumbnails out of customized areas of a picture?

    I hope, I’m posting this in the right place and I would greatly appreciate an answer. Thomas

  11. Piedro Kulman says:

    Hello Alex!

    Compliments to yoour efforts! This is really a beautiful piece of software!

    I started testing your new plugin with the wordpress beta 3 of version 2.7. And stumbled over a strange behaviour in regards of image scaling.

    when I insert a singelpic on a page the picture willl stretch to the proportions entered in width $ height. Before (with earlier version) the picture was resized but keeping the image proportions.

    Is this a bug or do I simply mess up an option somewhere?

    With the option of “no stretching” in a slideshow, the slideshow works perfectly as expected, keeping the original width to height relation as in the orginal picture.

    Any ideas?

    thx anyway, piedro

    p.s.: I posted the same problem in the WordPress support forum but haven’t got any answers yet.

  12. alex.rabe says:


    is fixed in the next release :

    P.S. : You need to add the tag “nextgen-gallery” to get attention…

  13. Piedro Kulman says:

    Wow!!! Works like a charm now!

    thx so much,

  14. PIGI says:

    Very Good! Thank you so much!

  15. Sandra says:

    I love your plugin..

    And i have a question. On the upload page it says “Note : The upload limit on your server is 20MByte” is that something I can change? is it my web hotel who has set that limit or is it your plugin?

    I need more space for pictures 🙂

    Thank you once again – and i hope you can answer my question!

  16. Stefan says:

    @Sandra: Upload limit is the limit for uploading one file. So you can also upload zip-files or images that have 20 MB or less.

    I’m waiting for WP and NextGEN-Release. It will be an early christmas. 🙂

  17. Tim says:

    Great plugin. However I’m having a problem when I have it installed on WP2.7 (beta 3) along with the Search Unleashed Plugin. I get this error when saving a page. Any ideas?


    Warning: call_user_func_array() []: First argumented is expected to be a valid callback, ‘searchnggallerytags’ was given in /home/isdsi/www/cms/wp-includes/plugin.php on line 166

    Warning: call_user_func_array() []: First argumented is expected to be a valid callback, ‘searchnggallerytags’ was given in /home/isdsi/www/cms/wp-includes/plugin.php on line 166

    Warning: Cannot modify header information – headers already sent by (output started at /home/isdsi/www/cms/wp-includes/plugin.php:166) in /home/isdsi/www/cms/wp-includes/pluggable.php on line 848

  18. patrick says:

    Great work, great plugin!

    I just noticed when trying to run it on a local testserver where I have both, the content- and the plugin-directory renamed (as possible fom WP 2.6 on), that uploading pictures is not possible due to the way you define the plugin-path. You always assume that there is a directory called ‘plugins’:


    if ( !defined('WP_CONTENT_URL') )
    define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
    if ( !defined('WP_CONTENT_DIR') )
    define( 'WP_CONTENT_DIR', WINABSPATH . 'wp-content' );

    define('NGGFOLDER', plugin_basename( dirname(__FILE__)) );
    define('NGGALLERY_ABSPATH', WP_CONTENT_DIR.'/plugins/'.plugin_basename( dirname(__FILE__)).'/' );
    define('NGGALLERY_URLPATH', WP_CONTENT_URL.'/plugins/'.plugin_basename( dirname(__FILE__)).'/' );

    Maybe it would be possible to make use of WP_PLUGIN_DIR and WP_PLUGIN_URL in the same way, so that also would work. 🙂

    I’m sure you know how to do it, but here is a maybe helpful link:

    Cheers and keep up the good work!

  19. alex.rabe says:

    Thanks I will fix that

  20. Gareth says:

    Hi Alex,

    Please could you advise how to replace the ‘Loading’ with an image instead. I have seen where the loading text is in the nggallery.php file and have attempted to insert an image with no luck in terms of position. Not entirely sure I am adding in the correct place but I am able to call the image from the specificed location by inserted the image path under div#shWaitBar of the shutter-reloaded.css. If I bash around more I will probably get it right but if there is Javascript changes then I am lost, not familar with JScript.

    Thank You Very Much for the Plugin.

    NGGallery Version: 1.0.0-beta3
    WP Version: 2.7 Beta 2


  21. David Schmeikal says:

    Hi hi. great plugin!! having a small issue however. Im fairly new to wordpress so forgive my ignorance if this is an obvious issue.
    I had the gallery slide show functioning when using the [slideshow=id] tag. However recently I have noticed that it will just spin the loading animation on a black screen and do nothing.
    What might be the problem here? Where might I look to find out how I could fix it. I still have not updated to WP 2.6.3 would this cause a problem?


  22. David Schmeikal says:

    mmm. of course its after I post a question. FYI for anyone else though

  23. emo says:

    thanks. m always the nextgen fanz

  24. Vince says:


    I like the albums idea but lacked one thing… a simple gallery listing. So I’ve added it, hope it can be in the new release.

    in file: nggfunctions.php

    Line: 34
    Old: $search = “@(?:)*s*[albums*=s*(w+|^+)(|,extend|,compact)]s*(?:)*@i”;
    New: $search = “@(?:)*s*[albums*=s*(w+|^+)(|,extend|,compact|,listing)]s*(?:)*@i”;

    Line: 462
    Insert his above the else statment
    } elseif ($mode == “listing” ) {

    $galleryID = $wpdb->escape($gallerycontent->gid);
    $picturelist = $wpdb->get_results(“SELECT t.*, tt.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE t.gid = ‘$galleryID’ AND tt.exclude != 1 ORDER BY tt.$ngg_options[galSort] $ngg_options[galSortDir] “);
    if (is_array($picturelist) && count($picturelist) > 0) {
    $out .= ”.$gallerycontent->title.”;
    $out .= nggCreateGallery($picturelist, $galleryID);



    I also made a small css change for content blocks that are small.

    File: nggallery.css
    Line: 136

    .ngg-gallery-thumbnail {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;

    I added the bottom margin for images the wrap to the next line.

  25. Vince says:

    Sorry forgot to add the admin part of it.

    File: tinymce3/window.php
    Line: 96
    Add this below the radio input for company (before the close td)

  26. kevin says:


    I have installed you latest beta version and see the examples that allow the use of a templates such as ‘gallery-sample1.php’ like in your examples. I have tried to make these work like your exmaples for many hours and cannot. Can you please include the files like ‘gallery-sample1.php’, ‘gallery-sample2.php’, etc….


  27. chris says:

    any chance someone could help me write a cron job to automatically scan a bunch of directories for new images and auto populate that into the galleries?

    I’ve got over 50 galleries that are uploaded to via a contact form…

  28. bob says:

    Alex — thanks for all your work on NextGEN.

    Personally I would love to see the permalinks worked on in the next release… it’s the only real criticism I have of NextGEN — but I think it’s the one thing letting the gallery down

    Hi Vince, looks like your last post got cut off before the end? (or your code to add in the admin part didn’t display properly)


    Vince Posted November 21st, 2008 – 12:13 pm

    Sorry forgot to add the admin part of it.

    File: tinymce3/window.php
    Line: 96
    Add this below the radio input for company (before the close td)

  29. Neil Stead says:

    Couldn’t get the ZIP file upload to work, and eventually discovered a bug.

    The import_zipfile function in nextgen-gallery/admin needs to specify $wpdb as a global.

    Line: 933
    function import_zipfile($galleryID) {

    global $wpdb,$ngg; // added $wpdb

    Thanks for a great plugin!

  30. Valentino says:

    I found a bug in shortcodes.
    This shortcode [slideshow=1,200,100] display a slideshow with a wrong height (equal to width).
    So in my example the slideshow is 200×200, and not 200×100

    I solved this bug using this other syntax [slideshow id="1" w="200" h="100"]


  31. Valentino says:

    Quick debug: “Move to..” doesn’t work.
    To fix it, just comment or delete line 774 in admin/functions.php

    // return;


  32. alex.rabe says:


    THX for the note, I fixed it…

  33. Ben says:

    Alex, NextGen is a fantastic plugin, and it’s helped me bring the images of my international artists collaborative to the eyes of the world. Many thanks.

    Since the beginning any time I use the slideshow it crops the images just like it shows them as thumbnails. So, I can’t use the slideshow feature because of the cropping.

    And suggestions?


  34. QueenEve says:

    is there any way to add pictures from other photos directories like flikcr or photobucket, instead of uploading the pictures to my server directly??

  35. Cynthia says:

    Hi Alex.

    I am experimenting using Templates for the first time.

    Is there a way to use html tags in the thumbnail descriptions? Perhaps a or a ?

    Thank you again.


  36. Cynthia says:

    hmmmmmmm…that’s exactly what I need to do, however in Firefox 3 on ox x it is just displaying the html tags on the web page. I’ll try IE on windows. thanks

  37. Cynthia says:

    This must be my template. I tried to modify your gallery-sample1.php and then tried to echo $image->description. That worked ok, but it wouldn’t handle html tags. I could not find the code for the other templates that you showed.

  38. alex.rabe says:

    use html_entity_decode() around the $image->description, I added this only to the imagebrowser automatic…

  39. Cynthia says:

    Thanks Alex. I used example from your code in my template and I was also able to striplashes to allow the use of quotation marks on the thumbnails page by putting this in my theme.

    echo html_entity_decode(stripslashes($image->description))

    The only issue that is still bugging me is that I can’t figure out how to stripslashes from the description in the shutter reloaded piece.

  40. alex.rabe says:

    Have a look at my exif sample, there I used as well the description to show it as title in Shutter

  41. Bernhard says:

    I know it is a bit offtopic, but renaming content directory is already discussed here.

    Running WP 2.6.5 and nggalery 0.99.1 I do not manage to move the wp-contents directory out of the WP – installation. Everything seems to work fine but nggallery still uses the hardwired names for the images. I uploaded a new gallery and it recreated the embedded wordpress/wp-content/gallery/… path.

    I wanted to move wp-content in parallel to the wordpress directory.

    I also checked if the changes proposed by patrich on Nov 19th are in my nggallery installation. They are!

    Sorry I cannot paste a link, since I have to rollback the changes in order to keep my blog going.

    Any other tipp, what could help?


  42. Cynthia says:

    Hi again Alex. This is such a minor issue…but I can’t figure out how to use the Shutter Reloaded piece with a quotation mark, either double or single without a (backward slash) appearing before the quotation mark. I have tried to fix the shutter-reloaded.js file, but do not understand javascript. If only javascript would let me stripslashes from shutterLinks[ln].title

    What is interesting is that the previous version 0.99.1 does not show these back slashes before quotation marks. I tried to compare the code, but sadly, I am no programmer.

    It’s really not a huge thing. I will just avoid using these quote marks.

  43. Jorge says:

    Hi Alex. I’m not a programmer, neither a web designer. Your plugin is really amazing, a long time looking some like next-gen. Just a doubt. After the pluging was installed in my blog:
    Why the images are not spread like in your blog and the examples sites with a black shade background, and image description, etc? This effect works in the Administrator page when I manage the galleries but not in the main site. Thanks in advance for any info about.
    All the best.

  44. Cynthia says:

    Thank you Alex!!!

    I just downloaded 1.0.0-RC2 and everything works PERFECTLY!!

  45. Josh says:

    Hi there. This is truly an AWESOME plugin and many, many thanks. I upgraded to WP 2.7 today on both my test site (OS X) and my live site (Linux) along with V1 of your plugin. The sites are in sync, yet I am getting the same error that “Tim” got back on November 19 regarding the “searchnggallerytags”. Let me know if you’d like me to provide any details.

  46. Josh says:

    Sorry I forgot to mention that the error is only appearing on my test site and not my live site.

  47. Corianton says:

    I am getting the same error as Josh, but on both live (Linux) and test (windows). Any solution would be helpful. Josh, what other plugins do you have installed?

  48. dash says:

    🙂 love nextgen
    as mentioned before by a commenter:

    By titles I mean the titles we input and not the album IDs. The result would simple and better SEO.

    >> same request here have loads and load of these:

  49. Aaron Snyder says:

    I’m having the same problem with the slashes and quotation marks in a few different websites: one of which isn’t public yet but I can provide to those that it will help to debug. Thanks.

  50. same as josh problem, when i move the site from a test site (windows) to a new one (live site, freebsd) all seems ok except ngg gallery, i have try zipped the wp first than import the database, it seems not work, i can’t edit the ngg galery setting on the gallery tab. please help

Comments are closed.

%d bloggers like this: