NextGEN Gallery v1.0.0 Beta 3

16Nov08

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.

51 Responses to “NextGEN Gallery v1.0.0 Beta 3”


  1. Gravatar Icon 1 Waikon Posted November 16th, 2008 - 21:09

    Thanks! It works fine now.

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

  2. Gravatar Icon 2 Rajesh Narayanan Posted November 16th, 2008 - 22:33

    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. Gravatar Icon 3 BlaKKJaKK Posted November 17th, 2008 - 00:01

    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. Gravatar Icon 4 BlaKKJaKK Posted November 17th, 2008 - 04:32

    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. Gravatar Icon 5 Patriciya Posted November 17th, 2008 - 05:09

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

  6. Gravatar Icon 6 Cynthia Posted November 17th, 2008 - 05:44

    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. Gravatar Icon 7 Seluna Posted November 17th, 2008 - 08:33

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

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

  8. Gravatar Icon 8 Edi Posted November 17th, 2008 - 13:55

    hello

    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. Gravatar Icon 9 alex.rabe Posted November 17th, 2008 - 20:49

    @BlaKKJaKK
    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. Gravatar Icon 10 Thomas Posted November 17th, 2008 - 22:33

    hello

    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. Gravatar Icon 11 Piedro Kulman Posted November 18th, 2008 - 13:11

    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. Gravatar Icon 12 alex.rabe Posted November 18th, 2008 - 13:18

    @Piedro

    is fixed in the next release : http://code.google.com/p/nextgen-gallery/source/detail?r=365

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

  13. Gravatar Icon 13 Piedro Kulman Posted November 18th, 2008 - 13:57

    Wow!!! Works like a charm now!

    thx so much,
    p.

  14. Gravatar Icon 14 PIGI Posted November 18th, 2008 - 14:59

    Very Good! Thank you so much!

  15. Gravatar Icon 15 Sandra Posted November 19th, 2008 - 11:45

    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!
    SIncerely,
    Sandra

  16. Gravatar Icon 16 Stefan Posted November 19th, 2008 - 14:06

    @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. Gravatar Icon 17 Tim Posted November 19th, 2008 - 17:01

    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() [function.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() [function.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. Gravatar Icon 18 patrick Posted November 19th, 2008 - 17:24

    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’:

    nggallery.php:

    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:
    http://bueltge.de/wordpress-plugin-content-verzeichniss-ermitteln/769/

    Cheers and keep up the good work!

  19. Gravatar Icon 19 alex.rabe Posted November 19th, 2008 - 17:51

    @Patrick
    Thanks I will fix that

  20. Gravatar Icon 20 Gareth Posted November 19th, 2008 - 17:58

    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

    Regards
    Gareth

  21. Gravatar Icon 21 David Schmeikal Posted November 20th, 2008 - 01:09

    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?

    David.

  22. Gravatar Icon 22 David Schmeikal Posted November 20th, 2008 - 01:12

    mmm. of course its after I post a question. FYI for anyone else though
    http://wordpress.org/support/topic/190427#post-903119

  23. Gravatar Icon 23 emo Posted November 20th, 2008 - 17:23

    thanks. m always the nextgen fanz

  24. Gravatar Icon 24 Vince Posted November 21st, 2008 - 12:07

    Hi,

    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*\[album\s*=\s*(\w+|^\+)(|,extend|,compact)\]\s*(?:)*@i”;
    New: $search = “@(?:)*\s*\[album\s*=\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. Gravatar Icon 25 Vince Posted November 21st, 2008 - 12:13

    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. Gravatar Icon 26 kevin Posted November 21st, 2008 - 16:47

    Alex,

    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….

    Thanks,
    Kevin

  27. Gravatar Icon 27 chris Posted November 22nd, 2008 - 07:27

    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. Gravatar Icon 28 bob Posted November 23rd, 2008 - 10:11

    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. Gravatar Icon 29 Neil Stead Posted November 23rd, 2008 - 11:35

    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.

    i.e.
    Line: 933
    function import_zipfile($galleryID) {

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

    Thanks for a great plugin!

  30. Gravatar Icon 30 Valentino Posted November 24th, 2008 - 16:11

    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"]

    Regards

  31. Gravatar Icon 31 Valentino Posted November 24th, 2008 - 17:12

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

    // return;

    Regards

  32. Gravatar Icon 32 alex.rabe Posted November 24th, 2008 - 19:14

    @Valentino

    THX for the note, I fixed it…

  33. Gravatar Icon 33 Ben Posted November 24th, 2008 - 20:11

    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?

    Ben

  34. Gravatar Icon 34 QueenEve Posted November 25th, 2008 - 08:53

    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. Gravatar Icon 35 Cynthia Posted November 28th, 2008 - 23:15

    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 < b >?

    Thank you again.

    Cynthia

  36. Gravatar Icon 36 alex.rabe Posted November 28th, 2008 - 23:18

    of course it’s possible . See here http://nextgen.boelinger.com/image-browser/exif-support/

  37. Gravatar Icon 37 Cynthia Posted November 28th, 2008 - 23:47

    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

  38. Gravatar Icon 38 Cynthia Posted November 29th, 2008 - 00:26

    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.

  39. Gravatar Icon 39 alex.rabe Posted November 29th, 2008 - 11:31

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

  40. Gravatar Icon 40 Cynthia Posted November 30th, 2008 - 07:51

    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.

  41. Gravatar Icon 41 alex.rabe Posted November 30th, 2008 - 12:41

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

  42. Gravatar Icon 42 Bernhard Posted November 30th, 2008 - 13:54

    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?

    -b

  43. Gravatar Icon 43 Cynthia Posted November 30th, 2008 - 20:26

    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.

  44. Gravatar Icon 44 Jorge Posted December 1st, 2008 - 00:06

    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: http://dibujantesmendocinos.com.
    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.
    jorge

  45. Gravatar Icon 45 Cynthia Posted December 2nd, 2008 - 23:26

    Thank you Alex!!!

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

  46. Gravatar Icon 46 Josh Posted December 11th, 2008 - 20:13

    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.

  47. Gravatar Icon 47 Josh Posted December 11th, 2008 - 20:14

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

  48. Gravatar Icon 48 Corianton Posted December 11th, 2008 - 21:23

    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?

  49. Gravatar Icon 49 dash Posted December 21st, 2008 - 12:22

    :) love nextgen
    THANK YOU
    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:
    ?album=12&gallery=60&gallery=55
    ?album=12&gallery=60&gallery=24
    ?album=12&gallery=60&gallery=20

  50. Gravatar Icon 50 Aaron Snyder Posted March 4th, 2009 - 06:12

    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.
    -Aaron

  51. Gravatar Icon 51 danibilabibah Posted March 5th, 2009 - 05:31

    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
    thanks,

Leave a Reply


Comment guidelines: No spamming, no profanity, and no flaming. Inappropriate comments will be deleted outright.