326 Responses

  1. Ian Stewart
    Ian Stewart April 13, 2008 at 6:50 pm | | Reply

    Very cool idea, not only cleaning up the gallery, but also preparing the links for Lightbox & friends. Smart thinking.

    And surprising that given the concern for standards the gallery code isn’t XHTML strict. Weird.

    plus, glad you like Theseus (and thankful it didn’t break in your test)! And Peaceful Rush is still one of the nicer WordPress themes.

  2. Matt
    Matt April 13, 2008 at 10:54 pm | | Reply

    For those following along at home, the XHTML for the gallery should be completely valid for the next release. It just slipped through our testing the first time around.

  3. J Mehmett
    J Mehmett April 14, 2008 at 12:40 am | | Reply

    Hi Justin,

    Thanx for your release, I downloaded it and tested it in my localhost, and everything looks great. I’m going to upload it on to my blog soon.

    I’m using “Options” theme in my local test server and it’s compatible, man. I’m very happy with this…

    Thank you anyway

  4. BoltClock
    BoltClock April 14, 2008 at 1:18 am | | Reply

    I’m not gonna use the gallery feature yet, but I was taken slightly aback by the fact that the shortcode outputs invalid XHTML. It’ll probably be fixed in WordPress 2.5.1 or something, but then again, as you said your plugin does have some other nifty features :)

  5. Brandi Boyd
    Brandi Boyd April 14, 2008 at 7:26 am | | Reply

    Quick question..say the gallery feature ends up with valid code soon and for simplicity’s sake I want to go back to using it when that happens… Will disabling the plugin later make it necessary to re-create existing galleries, or will they work with the standard gallery feature post-plugin?

    Thanks for the hard work and valid code.

  6. WordPress Modder
    WordPress Modder April 14, 2008 at 9:23 am | | Reply

    Great solution, and nice to hear from Matt that the invalid code was just an oversight.

  7. mccormicky
    mccormicky April 15, 2008 at 4:56 pm | | Reply

    By the time I’ve recovered from upgrading 13 other websites plus my own and hunting down/testing out replacement plugins for plugins that bit the dust upon the release of 2.5 maybe 2.6 will be out.

  8. Dade Williams
    Dade Williams April 16, 2008 at 2:23 pm | | Reply

    it would be cool if you could place say a banner on your post and that said banner will be shown on each photo page but not the same banner every time a gallery is posted

  9. Kay Kastum
    Kay Kastum April 16, 2008 at 5:59 pm | | Reply

    Yeah. The new WP really is not helping much. It creates more problem than making things easier as what I have experienced…geez. I’ll try this one soon.

  10. justin
    justin April 17, 2008 at 9:49 am | | Reply

    Thanks this is great, exactly what I was looking for!

  11. bearacid
    bearacid April 19, 2008 at 4:48 am | | Reply

    When i was reading your article, it was really awesome because it feeds my knowledge and it was so entertaining, by the way. hope you can make more article just like this. it helps me a lot. thanks and good luck. :)

  12. olovito
    olovito April 19, 2008 at 11:29 am | | Reply

    Excellent work Justin, as always.
    I modified one thing: in order to limit each gallery to show only the specific pics uploaded for that post I changed the $a_rel to ‘lightbox[gallery-' . $post->ID . ']‘. Otherwise Slimbox shows all uploaded gallery pics in every post that uses the gallery.

  13. Mimos blogg April 21, 2008 at 5:34 am |
  14. theWizard
    theWizard April 21, 2008 at 5:36 am | | Reply

    awesome plugin man, thanks alot. this is a lifesaver!

  15. Brad Mahaffey
    Brad Mahaffey April 22, 2008 at 9:50 am | | Reply

    Great plugin, thanks so much!

  16. Hetal Bhagat
    Hetal Bhagat April 24, 2008 at 7:23 am | | Reply

    This plugin rocks!!! I was looking for something like this for the gallery. Tried it out on my localhost and would be uploading it soon to my blog. Thanks Justin.

  17. Doug
    Doug April 24, 2008 at 11:04 am | | Reply

    I honestly did not know Wordpress had a gallery. Where’s the gallery? Also, is it possible to make this plugin turn all pictures in post to lightbox by default with captions.

  18. Dennis
    Dennis April 24, 2008 at 1:16 pm | | Reply

    Hi,

    I took your plugin as a base for mine. I added greybox, thickbox (the one standard in wp) and highslide support. And I use the exif info that wp 2.5 now stores in the metadata to ad to the boxes. Als I extract gps info and you can view the location of the pictures taken in a box to.

    You can see it live here: http://kruyt.org

    1. Razvan Neagu
      Razvan Neagu October 12, 2010 at 6:08 pm | | Reply

      Dennis, how did you manage the integration with Highslide. Someone else commented about the challenge on this and I am very interested in finding a solution.

      Thanks!

  19. Dennis
    Dennis April 25, 2008 at 5:21 am | | Reply

    Hi Justin,

    What I mean with thickbox, is I auto load it in the plugin. no need to embed in my theme. And thickbox is already by default in WP2.5

    code for using the tb in wp:

    wp_enqueue_script('thickbox');
    add_action('wp_head', 'thickbox_css');
    
    function thickbox_css() {
    
        $thickbox_csspath = get_bloginfo('wpurl')."/wp-includes/js/thickbox/thickbox.css";
        $thickboxscript = "\n";
        print($thickboxscript);
    }
    

    And here some code I use to put the exif info that wp 2.5 now reads from files in the title, so the ‘boxes’ can use it to. To display exif.

    // Get EXIF from WP and set in title
    $metadata = wp_get_attachment_metadata($id);
    $image_meta = $metadata[image_meta];
    
    //print_r ($metadata);
    
    if($image_meta[camera]) $title = ''.$image_meta[camera].' ';
    if($image_meta[focal_length]) $title .= '@ '.$image_meta[focal_length].' mm ';
    if($image_meta[shutter_speed]) $title .= '- ¹/'.(1/($image_meta[shutter_speed])).' sec';
    if($image_meta[aperture]) $title .= ', ƒ/'.$image_meta[aperture].'';
    if($image_meta[iso]) $title .= ', ISO '.$image_meta[iso].'';
    if($image_meta[created_timestamp]) $title .= ' on '.date('j F, Y',$image_meta[created_timestamp]).'';
    
  20. Matrich
    Matrich April 25, 2008 at 7:23 am | | Reply

    Thanks so much for the plugin. I was so anxious about the Gallery feature in WP 2.5 however I was shocked when I saw the inline css in the page and it was breaking. I wondered what had happened because ever since I started developing using css, i hadn’t come across css code in the middle of a page.

    Anyway, it was great to hear from Matt that it was just an oversight but it will be out very soon with the next release. That will be so fantastic.

    Otherwise, I really like the gallery feature and most of the other features in WP 2.5.

  21. Andrew Mee
    Andrew Mee April 25, 2008 at 10:00 pm | | Reply

    Great work – the first plugin I’ve found which deals with the wp2.5 gallery the way I wanted to (by turfing it out entirely, and doing it better!) Seriously, excellent work!

    The only addition I made to this was adding the lines;

    $myCaption = ($attachment->post_excerpt == "") ? $attachment->post_content: $attachment->post_excerpt;
    if ($myCaption == ""){ $myCaption = $attachment->post_title; }

    That way it looks for the caption in first the caption, then the description field, and if it can’t find it in either, it uses the title. Not appropriate for everyone I’m sure, but for my usage I always want a caption and Picasa captions come out in description, not caption annoyingly enough.

  22. Mimos blogg April 26, 2008 at 12:44 am |
  23. Perze Ababa
    Perze Ababa April 27, 2008 at 9:20 am | | Reply

    Hi Justin. Thanks for creating this awesome plugin. Keep up the good work.

    BTW, here’s the lightview user defined variables that I used.

    $a_rel = "gallery[cleaner-gallery-$post->ID]";
    $a_class = "lightview";
  24. Matrich
    Matrich April 27, 2008 at 10:39 pm | | Reply

    Hi Justin,
    Yeah, I downloaded WP 2.5.1 to see if it was sorted out about the inline css but unfortunately, it is still there so I am using your wonderful plugin however I am sure it will be sorted out.

    But atleast we are sure it will be sorted out sooner than later.

  25. Shane
    Shane April 28, 2008 at 6:10 pm | | Reply

    I’ve got the plugin installed and activated, but the gallery isn’t showing up. I’m using the “Insert gallery into post” and it outputs the [gallery] tag. Am I doing something wrong?

  26. Bertilo Wennergren
    Bertilo Wennergren April 29, 2008 at 3:08 am | | Reply

    It seems that this plugin uses “dl” lists (definition lists) with “dt” elements (“definition term”), just like the default WP gallery code.

    I’ve read lots of criticism of the galler code, but as yet I haven’t seen anyone question the element choice. In what way is a gallery of images a definition list? In what way is an image in such a galler a definition term? And where are the definitions (the “dd” elements)?

    If were going for valid XHTML, shouldn’t we try to use elements according to their definitions too? Validators don’t catch such errros, but they are just as important as validation errors, perhaps even more important.

    “dl” lists are often (mis)used to get the typical layout that such lists usually get in browsers, but as far as I can tell, that’s not the reason for the choice of “dl” here. The CSS seems to override the typical “dl” presentation completely. So I’m really baffled? Why “dl”?? I must be missing something…

  27. Charles
    Charles April 29, 2008 at 6:29 pm | | Reply

    This is an awesome plugin. Thank you very much.

    Sorry to hijack this thread but…:
    @Dennis – I just checked your blog. I really like what you did with your lightbox images. I see the code you posted for the EXIF information. Which files do you insert that into? Thanks!

  28. Bertilo Wennergren
    Bertilo Wennergren April 29, 2008 at 10:58 pm | | Reply

    Justin:

    If you don’t like the element choice, you can always change it with your gallery shortcode.

    Yes, but 99.99% of all users won’t. And then we’ll have heaps of “dl” elements that are not definition lists at all. There goes our semantic web… The default choice should be a good one.

    Granted, we should probably use different elements, but what should those elements be? I don’t see any clearly logical elements for displaying galleries..

    If there is no element in XHTML with a meaning that fits, then we should use “div” and “span”. That’s what they are there for. XHTML is not a particularily rich markup language. But it doesn’t get any better if we misuse the XHTML elements that do have a clear meaning.

    Maybe the use of a definition list is perfect for this situation. The gallery (dl) has images (dt) and captions (dd). A list with terms and descriptions. Of course, this is using the word “term” a little looser than usual, but do terms have to be text? If we answer yes, then the markup is most definitely wrong. If we say no, then maybe it’s a good solution.

    I think a “dt” needs to be a term. That might be a symbol, and an image could be a symbol. In any case the corresponding “dd” element should be a definition of that term/symbol. A caption could perhaps be a definition of its image, sometimes, but not very often. I doubt very much that many actual galleries are of that kind. And a gallery without captions? Could that in any conceivable way be seen as a definition list? A definition list without definitions? I really don’t think that makes any sense.

    In my opinion the default should be changed to “div” instead of “dl”.

  29. tartan - webdesign
    tartan - webdesign April 30, 2008 at 8:43 am | | Reply

    hi there, good job, I started to use this plugin and it gives a lot, and of course it’s better that the standard gallery, also – because it creates valid code – I don’t know how other people but in my mind that always stands for quality.

    best regards from scotland

    a.d.

  30. Diseño Web
    Diseño Web April 30, 2008 at 8:47 am | | Reply

    At the moment everything looks great, I keep testing on diverse browsers.

  31. Grant Palin
    Grant Palin April 30, 2008 at 10:20 pm | | Reply

    @Denis

    Curious about your meta code…did you add that to the plugin? I see the end result on your website, and would like to do something similar. Any suggestions?

  32. steffy
    steffy May 1, 2008 at 12:50 am | | Reply

    this plug in rock, thank you VERY much, it helps me a lot
    thanx again

  33. Bertilo Wennergren
    Bertilo Wennergren May 1, 2008 at 1:59 am | | Reply

    Justin Tadlock wrote:

    The word “definition” isn’t always accurate, even when talking about a definition list. W3 (article above) calls this both a definition and a “description.” Now, an image caption may not always be a definition, but it should always be a description. Otherwise, it’s not a caption at all. Of course, I’m being a bit picky with words.

    Maybe not too picky. That could be a way to justify the use of “dl” in the gallery code. But I’m a bit afraid that we’re getting close to redefining “dl”, “dt” and “dd” as “list (dl) of items (dt) with related text(s) (dd)”. That seems a bit too “unsemantic” too me, but I could be wrong.

    Would it then be OK to use “dl” with a single element as a general way of marking up images with captions? It’s not illogical for a list to have just one element, I guess… Actually I’ve long felt that XHTML lacks a good way to add a caption to an image. Could “dl”, “dd” and “dt” be it?

    But then again: If there are no captions (i.e. no descriptions), just a bunch of images (I think that will very often be the case), then it’s hard to justify the use of “dl”. But the gallery code uses “dl” for such galleries too…

  34. Kei
    Kei May 3, 2008 at 6:40 am | | Reply

    im choosing the thickbox option.
    however, it seem to break the site

    before applying the plugin
    http://img113.imageshack.us/img113/2561/15920743ac6.png

    after applying the plugin
    http://img113.imageshack.us/img113/5743/49590464ct0.png

    could you please help me check it out?

  35. erwan
    erwan May 5, 2008 at 12:08 am | | Reply

    ho great!

    thx a lot justin, that’s really the best photo plugin for WP!

    your plugin cleaned up my gallery just installing it, and I got exactly what I want: a valid xhtml gallery with lightbox!

  36. mxxx
    mxxx May 5, 2008 at 12:48 am | | Reply

    nice plugin mate, works very well.

  37. henri
    henri May 8, 2008 at 3:30 pm | | Reply

    Hi Justin,

    Nice plugin you made, I have a trivial question about the wp_postmeta table :

    I want to upgrade my previous thumbnails format to the 2.5.1 format but when I replace “thumb” by “thumbnail” and the file extension .tumbnail.jpg by the -150×150.jpg but it didn’t work, maybe you have an idea ;)

    Thanks a lot
    henri

  38. philsblogging
    philsblogging May 12, 2008 at 5:56 am | | Reply

    Thank you. The gallery wordpress comes with is quite unsatisfactory if you just want to customize it a bit. I am just afraid that further updates of Wordpress will allow customization sooner or later. Because the way it is now, just doesn’t live up to most expectations!

  39. JazzPDX
    JazzPDX May 13, 2008 at 5:46 pm | | Reply

    Have you considered adding a “rows” property? I see this as another shortcoming of the Wordpress code. Here’s what I added to make it work (Starting at around line 120):

    	$image_counter = 0;
    	$rows = intval($attr['rows']);
    	$max_images = 1000000;
    
    	if ($rows != "") {
    		$max_images = $columns * $rows;
    	}
    
    	foreach ( $attachments as $id => $attachment ) {
    
    		$image_counter++;
    		if ($image_counter > $max_images) {
    			break;
    		}
  40. Grant Palin
    Grant Palin May 14, 2008 at 9:49 pm | | Reply

    Regarding the metadata code provided by Dennis, I successfully added the snippet to the source of the plugin.

    I have it starting on line 128, directly following the line resembling if($title == '') $title = $attachment->post_title;. If you copy the code Dennis provided, you will need to clean it up a bit, due to WP creating curly quotes and the like.

    You can see the end result in this post on my site. It’s used in the bunch of images at the bottom. Just click the images to view the thickbox, the meta information is shown there.

  41. Leonaut.com May 15, 2008 at 1:24 am |
  42. Philipp
    Philipp May 15, 2008 at 8:41 am | | Reply

    Here is my modification to display the attachments’ (in most cases images) description!
    Add this above the line if($a_rel == true) $link = $a_img;

    #THATS WHAT I CHANGE AND WANT TO KEEP - ADJUSTMENT - MODIFICATION
    		if ($attachment->post_excerpt) {
    		$attachment_description = "· $attachment->post_content";
    		}

    and change this line too from $output .= "\t"; to…
    $output .= "\t";

    You can view this on my blog’s Tech Specs page: http://philsblogging.com/tech-specs/

  43. Philipp
    Philipp May 15, 2008 at 8:43 am | | Reply

    dammit my html broken :P
    here it is again:
    change this ….

    $output .= "\t";

    to that …

    $output .= "\t";

    remove the space between the < a so it triggers a html rendering!

  44. Philipp
    Philipp May 15, 2008 at 8:44 am | | Reply

    ok never mind!

  45. JazzPDX
    JazzPDX May 18, 2008 at 5:57 pm | | Reply

    The “rows” property can be useful if you’re giving a preview of the gallery – maybe you give the user 6 images (2 rows of three columns) and a link to the full gallery, which may have 100 images – something that would take up too much space on the page where you’re previewing it.

    Of course, it’s not a useful property for the full gallery, since the code cuts the gallery short.

  46. Dennis
    Dennis May 22, 2008 at 4:47 pm | | Reply

    Grant, here is mine version, with the added geo and exif support:
    http://kruyt.org/projects/wp-plugins/better-gallery but I need to clean it up, when I have some more time.

  47. jocuri
    jocuri May 27, 2008 at 5:23 am | | Reply

    Great work!

  48. jocuri
    jocuri May 30, 2008 at 12:36 pm | | Reply

    Keep up the good work! 10q

  49. bile
    bile June 6, 2008 at 10:37 am | | Reply

    It’d be nice if the number of attachments was less than 3 it would set the number of columns to that value automatically.

  50. vas
    vas June 7, 2008 at 9:19 am | | Reply

    Hello Justin,

    thanks for the gallery plugin. I installed in my test site in the dir wordpress and it works fine. But I have a small doubbt. When I see the gallery post block in the main page, the first picture appears. and if i click the post it takes to the post page. Now if press a single image it goes to the full image rather than the intermdiate size where the original gallery plugin allowed users to post their comment. that provison is absent. is this intentional designed that way.
    but if click the gallery widget, it takes to the post and from their one is able to click the individual image and make comment.
    i just thought i should check up whether this is intended to be this way.
    thanks.

  51. vas
    vas June 7, 2008 at 9:23 am | | Reply

    small correction. from the gallery widget it takes to the image we clicked. home page gallery stream also works that way. it is only the post block that does not give option to post comments under individual pics. thanks.

  52. vas
    vas June 7, 2008 at 9:27 am | | Reply

    another issue that i came up is when i click a picture from the gallery stream or from the gallery widget it hows the picture. when it depicts it cuts the right portion which exceeds the standard width rather than resize it. could it be made to resize rather than crop the image in the right side. thanks.

  53. jandry
    jandry June 16, 2008 at 10:59 pm | | Reply

    Here are the lines to support lyteshow. Lyteshow is the Lytebox Slideshow option

    // Lyteshow (Lytebox slideshow)?
    $a_rel = “lyteshow[cleaner-gallery-$post->ID]“;
    $a_class = “lyteshow”;

  54. Pedro
    Pedro June 19, 2008 at 4:50 am | | Reply

    Looking good! I was wondering if you are planning to have support for additional scripts? I am quite interested in seeing Highslide and Lightwindow (which are light-whatever scripts) support.

    Regards,
    P.

  55. WordPress Plugins - JHRweb July 5, 2008 at 3:20 am |
  56. Markus
    Markus July 8, 2008 at 8:24 am | | Reply

    Hello

    Great Solution. Exactly what i needed! But i have one problem. I am not that professional dealing with css. If you look at my example () for integration a gallery into a wordpress 2.5 post you can see a big gap between the gallery and the post title. Can anybody help me?

    best regards markus

  57. Plugins that run my site July 8, 2008 at 3:33 pm |
  58. alex
    alex July 10, 2008 at 8:48 am | | Reply

    Hi, I had a terrible time getting the code to work.
    Nothing I did seemed to take any effect.

    In your code, you have

    Obviously this is a hack, but it works. I am using Wordpress 2.5.1 running on php 5.2 or so.

    thank you in any case, hope this information is useful.

  59. Pedro
    Pedro July 15, 2008 at 2:16 pm | | Reply

    The idea of this plug-in is fantastic. But I have one caveat though…

    Whilst testing it, I had a user on the phone which expressed how my website became slow all of a sudden. I did noticed the site was quite slow, particularly on pages where gravatars where being displayed. As soon as I turned the plug-in off there was a great performance improvement.

    I think this is down for the following reasons:

    1. My first test was with thickbox
    2. This is a presumption: I assume that since Justin had to replace the buil-tin gallery shortcode with his own *fixed* copy, this would slow things up considerably.
    3. I might need some optimisation in my site (cache, ‘compressed’ code and so on.

    I was wondering if since WP 2.6 authors claimed that the gallery xhtml issues would be fixed in this version, if the new versions of this plug-in would have a smaller footprint (as I reckon it would have less code to fix).

    Cheers,
    P.

  60. Iwan
    Iwan July 18, 2008 at 1:01 am | | Reply

    hi

    thanks for your plugin. i made a small enhancemant that would be nice if you include it into the next version. it adds the image description you set in wordpress to the lightbox image. it’s really simple, i just modified the following code on line 140:

    
    // the image description for the lightbox
    		$description = $attachment->post_content;
    
    	// If using Lightbox, set the link to the img URL
    	// Else, set the link to the attachment URL
    		if($a_rel == true) $link = $a_img;
    		elseif($a_class == true) $link = $a_img;
    		else $link = $att_page;
    		$output .= "\t";
    

    i only tested it with lightview but i suppose the syntax is the same for any other lightbox.

  61. Iwan
    Iwan July 18, 2008 at 1:05 am | | Reply

    hmm strange,

    the blog just stripped away some code. i will try to explain the changing. first read the desciption:


    // the image description for the lightbox
    $description = $attachment->post_content;

    then add the description to the lightbox. in lightview you can seperate title and description by adding a “::” to the title attribute of the link tag.


    $title::$description

    i hope this is readable in the blog.

  62. George
    George July 27, 2008 at 10:02 am | | Reply

    Hi!

    I find your plugin to be very useful. Still, I have a question. How can I make the vertical images appear first (eventually 4 columns on a row) and the horizontal images last (3 columns on a row), like on this post http://blog.icy.ro/2008/07/bike-trip-2-reloaded/ (I have manually inserted the images).

    I am looking forward for your answer.

    Best regards,
    George

  63. korhan
    korhan July 27, 2008 at 11:00 am | | Reply

    is there a way to exclude 1 or few images from the gallery?

  64. korhan
    korhan July 27, 2008 at 11:37 am | | Reply

    one other thing, would it be possible to have the gallery view as in flashviewer. For example [simpleviewer] mode? That would be also great!

  65. Rob
    Rob August 6, 2008 at 11:13 am | | Reply

    Thanks for this plugin, its making my images look pretty.

    Im liking the features in Wordpress 2.6 but am very surprised they haven’t done anything about the gallery feature code…there must be a more graceful way of doing this?!

  66. nelsdrums
    nelsdrums August 11, 2008 at 6:56 am | | Reply

    Thank you thank you thank you. I have no idea why there isn’t an option in WP to link your gallery thumbs to the actual images (rather than to the interim page). Your plugin was exactly what I was looking for! The big bonus is that you set it up to work with LightView. AWESOME GOODNESS.

  67. CWFGameCast
    CWFGameCast August 25, 2008 at 10:08 pm | | Reply

    I installed your plugin and it works nicely. But, I tried to uncomment the lines to auto-load Thickbox and I receive a parse error. Not sure why. Here’s the exact error I receive: Parse error: syntax error, unexpected T_STRING in /home/wargamin/public_html/wp-content/plugins/cleaner-gallery/cleaner-gallery.php on line 33

    I uncommented this code:
    // Auto load Thickbox (included with WP 2.5)?
    // wp_enqueue_script('thickbox');
    // add_action('wp_head', 'thickbox_css');

    So it now looks like:
    Auto load Thickbox (included with WP 2.5)?
    wp_enqueue_script('thickbox');
    add_action('wp_head', 'thickbox_css');

    Any ideas? I can't use Lightbox because it doesn't work with my theme (a gigantic black area covers the top 1/4 of the page when I install and enable Lightbox to be auto-enabled) so I figure auto-loading Thickbox, which comes included with WP 2.5+, should work on my WP 2.6+ blog.

  68. Donncha O Caoimh
    Donncha O Caoimh September 15, 2008 at 4:37 am | | Reply

    I just noticed something missing from the shortcode function – the “order” attribute. I spent several minutes trying to figure out why my photos wouldn’t order properly. It even affects things when using the orderby attribute too.

    BTW – thanks for a neat plugin. Have sent various people your way when ask about it!

  69. Pete
    Pete September 17, 2008 at 8:20 pm | | Reply

    fixed it… css styling probs

    .gallery-64{width:580px;}
    dl.col-3 {float:left; width:100px;}

  70. zampara
    zampara September 27, 2008 at 4:03 pm | | Reply

    Thanks for the gallery plugin, how to install that?

  71. Omar H
    Omar H September 27, 2008 at 7:21 pm | | Reply

    Thank you! This is perfect. You rock!

  72. ovidiu
    ovidiu September 29, 2008 at 12:21 am | | Reply

    hello,
    I would love to try this plugin with wpmu not simple wordpress but noticed your code has a hardcoded path:

    /wp-content/plugins/cleaner-gallery/

    could that be changed possibly so it uses the current path of the file?

  73. dayer
    dayer October 1, 2008 at 4:48 pm | | Reply

    I obtain many errors of this kind if I use this plugin:

    -> character “[” is not allowed in the value of attribute “rel”
    -> document type does not allow element “div” here; missing one of “button”, “map”, “object”, “ins”, “del”, “noscript” start-tag.

    :s

  74. Leo
    Leo October 2, 2008 at 6:04 am | | Reply

    Man! Great! Works fine with Lightview! Thanks a lot!

  75. Heed
    Heed October 14, 2008 at 8:21 pm | | Reply

    Hey Justin,

    Great plugin! Just one question… I was wondering how I could add the ability to save the image using a “Save Image” link under or next to the description…

    If you have any idea or know where I can find this out it would be a great help!

    Thanks once again!

  76. murtaza habib
    murtaza habib October 28, 2008 at 3:26 am | | Reply

    nice plugin!

    Question:

    how can i add this plugin to my .php file?

    i have a website which have 5 .html pages, one of the page is photo gallery. when i click the link small thumbnails are displayed. when i click any one thumbnail, my lightbox opens and shows picture coming from clearner wordpress plugin.

    i m struggling hard to do this, anyone there to help me… just provide me the exact script or file, i will upload it and use it

    thank you
    murtaza

  77. Brady J. Frey
    Brady J. Frey November 1, 2008 at 3:10 pm | | Reply

    Thank you very much for this! I’ve been hacking the hell out of media.php since the get go, I couldn’t find the plugs to make my own plugin, but this gave me the right direction:). I’m customizing it to use Fancy Zoom, though I’m starting to lean to the cleaner jquery version Fancy Box, and turning the (X)HTML into a much simpler, cleaner version I use:
    http://bradyjfrey.com/blog/san-francisco/its-tops-best-diner-in-san-francisco/

    I’ve never understood why everything is such a hefty class/ID element, when you can just ID the containing tag (whether that’s a dl like in my case or your standard list), and then drill down your css from there, #mygallery dt, #mygallery li, etc. Regardless, this will let me get out of the excessive code hell. If you’d like the code when I’m done, I’m happy to send it your way:)

  78. ulfben
    ulfben November 9, 2008 at 10:12 am | | Reply

    I added support for excluding specific images from the gallery, like so: [gallery exclude="1,2,3,4"]

    Fetch my updated version here. (changes made @ lines 125-129)

    Note: there’s no way (that I know) to actually get the attachment id in the WP admin. It is quite straightforward (but cumbersome) though: they’re numbered from the post ID and up. If post ID = 160, the first attachment (bottom-most on the upload page by default) will be 161 and so on.

  79. ovidiu
    ovidiu November 11, 2008 at 12:24 am | | Reply

    hello, I was just curios about another pretty similar plugin: http://www.jarinteractive.com/weblog/2008/07/photojar/ do these 2 plugins do exactly the same? and if not could they be compatible?

    thanks

  80. ovidiu
    ovidiu November 11, 2008 at 1:43 am | | Reply

    thx. the other one states:

    * Dynamically resizes thumbnails – changes to image sizes apply retroactively
    * Allows custom image sizes (beyond “thumbnail” and “medium”)
    * Caches resized images
    * Integrates with LightBox, ThickBox, LightView, and many more javascript image viewers
    * Provides an [image] shortcode
    * Can change the default number of columns in a gallery

    So it seems very similar except for cleaning up the code :-) And it has a nice gui, just for your info… maybe you can incorporate some of those features as well, just a little inspiration.

    Oh and thanks for the nice plugin :-)

  81. ulfben
    ulfben November 14, 2008 at 1:35 pm | | Reply

    I just found a reliable way to get the ID of an attachment (for use in the exclude-list): press the ‘Delete’-button of the attachment and then hover over the “Continue”-link – your browser status bar will display an URL with the ID in. :)

  82. vinay
    vinay November 20, 2008 at 3:06 am | | Reply

    i want to add slimbox to chapter 16 image gallery plz help me out……………………

  83. ulfben
    ulfben November 26, 2008 at 10:32 am | | Reply

    I find myself never using the ‘image.php’ to view gallery images – relying instead on lightbox display and never leaving the post to view an image.

    If you’re like me you might want to display the image description (instead of the title) in the lightbox-window.Note that it will fall back to using titles if no description is available.

    A picture says more than a thousand words. :)

  84. ulfben
    ulfben November 26, 2008 at 10:35 am | | Reply

    Right, no img-tag in comments. Here’s links to screenshots displaying what I’m on about.

    The point is that I never send visitors to ‘image.php’, so I want all information available from the post view of the gallery.

  85. Xt8
    Xt8 November 30, 2008 at 11:32 pm | | Reply

    Great plugin man :)

  86. dan
    dan December 2, 2008 at 3:38 am | | Reply

    I tried to use this plugin, it worked but it took away the rows and columns and just put it in one line.

  87. vetweb
    vetweb December 2, 2008 at 5:59 am | | Reply

    great plugin, this is awesome…. thank you

    *tryin’ to hack it and put it on my joomla site.. :D

  88. Gallery viewing | SubSanity's Asylum December 8, 2008 at 10:27 pm |
  89. Tx8
    Tx8 December 9, 2008 at 1:37 am | | Reply

    Hi Justin,

    I tried to exclude a photo form the gallery but it doesn’t work for me [gallery exclude='3444'].
    The gallery display photo id #3444 along the others.

    I checked the php code but I can’t find any reference to this option.

    Any any ?

  90. Tx8
    Tx8 December 9, 2008 at 1:38 am | | Reply

    *idea

  91. nrd
    nrd December 12, 2008 at 10:19 pm | | Reply

    Hello, do you know if it is possible do add Pager (page 1,2,3.. list) to bigger galleries? I saw something like this on one blog (AJAX style). Do you know plugin like this?

    Big thanx for cleaner.. Now i can see that “columns=x” really works..

  92. Merlin Silk
    Merlin Silk December 19, 2008 at 4:49 pm | | Reply

    Hi Justin,

    just installed wp 2.7 and now my galleries don’t seem to work any more – is there a compatibility issue with cleaner gallery plugin?

    Cheers,
    Merlin

  93. sL1pknot
    sL1pknot December 21, 2008 at 1:06 pm | | Reply

    Thank you so much.

  94. ulfben
    ulfben December 21, 2008 at 1:06 pm | | Reply

    It seems to ignore sort-order when ordering by “Menu order” (default).

    Try uploading a bunch of pictures, and use [gallery order="DESC"] and [gallery order="ASC"] – it makes no difference. :/

  95. ulfben
    ulfben December 21, 2008 at 1:22 pm | | Reply

    The fix is easy, change:
    ‘orderby’ => ‘menu_order ID’,

    to

    ‘orderby’ => ‘menu_order’,

    Caveat: not tested how that goes in WP 2.6.

  96. Phil
    Phil December 23, 2008 at 5:55 am | | Reply

    It broke my WP 2.7 version. I now had to delete it, since the Gallery itself offers the option to directly link to the image file (And thus triggering the image floating thingy) anyway…

    This effect can be seen on my tech spec page: http://philsblogging.com/tech-specs/

    Thanks though!

  97. Photo Gallery
    Photo Gallery December 24, 2008 at 11:53 am | | Reply

    GoodCleaner WordPress Gallery Plugin

    but

    is there using with last version WP

  98. AS
    AS December 27, 2008 at 10:23 pm | | Reply

    After the use of the album can not be arranged, and his party will show a thumbnail.
    I am using the 2.7.
    Thanks

  99. Wayne
    Wayne January 4, 2009 at 12:49 pm | | Reply

    Hi I used this plug in without any problems on old version of WP. I have upgraded to 2.7 and instead of a photogrid in conjunction with lytebox, the images now run down the left hand side of the page. The pop up gallery still works fine, but its the look of a photogrid I wanted ie 3×3

    I’m not a programmer and basically use it “out of the box”, is there a way with 2.7 and cleaner gallery to get back to the photogrid of 3 column galleries please.

  100. Johan
    Johan January 12, 2009 at 11:42 pm | | Reply

    Hi Justin, Thanks for this great plugin. It was working pretty fine with 2.6 installation, and i was using featured content plugin as well on homepage. But now recently i upgraded to 2.7 version, and everything got messed up. im a newbie to the coding and stuff, have no idea what to do.

  101. Nova
    Nova February 3, 2009 at 9:05 am | | Reply

    My 2.7 cannot install “WordPress 2.6+ (0.5)” plugin:

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/myblog/public_html/blog/wp-content/plugins/cleaner-gallery/settings-admin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/myblog/public_html/blog/wp-content/plugins/Cleaner WordPress Gallery Plugin 2.6/cleaner-gallery.php on line 54

    Just wonder am I doing anything wrong here?

    Anyway thanks Justin.

  102. Tom
    Tom February 10, 2009 at 5:15 pm | | Reply

    Justin, this is an awesome plugin. I spent a day trying to hack around the current one. I’m no WP expert but managed to get it to display just as list items, but I was dammed if I could get the alt or title tag to appear, there appears to be no documentation on it.

    This plugin works a treat and puts WP to shame that they didn’t include this out of the box.

    I’m off to snoop around in your code to see how the heck you’ve sorted it :) :D

  103. MidnighToker
    MidnighToker February 14, 2009 at 8:17 pm | | Reply

    @Nova & @Justin Tadlock:

    The zip file does not contain a folder, just the files, so if like myself you just wget the zip file on the server and then extract it, you will find all the files littered in …./wp-content/plugins/ rather than …./wp-content/plugins/cleaner-gallery/

    This results in the problems Nova was having getting it installed, and also messy files when you unzip.

    Please could the zipfile contain a folder with the files inside of that, rather than just the files?

    -Thanks :)

  104. toe_head2001
    toe_head2001 March 3, 2009 at 11:05 pm | | Reply

    Can you add support for slimbox 2 also?

  105. Hisky
    Hisky March 8, 2009 at 6:42 am | | Reply

    Everything worked fine with Lightbox…until i installed the latest update 0.5

    Before: Gallery was display as a 3 x 3 block.
    Now: The pictures are displayed in one row / one line downstairs :(

    Ill install the old version now…

  106. Hisky
    Hisky March 8, 2009 at 2:33 pm | | Reply

    Grrr. Cant find the old working version.

    Anyone can send me the version 0.4 via Mail!?

  107. Hisky
    Hisky March 9, 2009 at 1:10 am | | Reply

    Deleted for wasting my time, space, and patience. Please don’t leave comments trying to argue something I’ve already made perfectly clear. It is rude, shows a lack of respect, and will not be tolerated on my personal blog.

  108. Hisky
    Hisky March 9, 2009 at 7:18 am | | Reply

    Sorry Justin – all i wanted was the old data to see whats the bug.

    I found a solution:
    After the automatic update from 0.4 to 0.5 the CSS files hat not enough CHMOD rights.
    Thats why the layout was broke.
    After i set the folder zu CHMOD 755 everything works fine.

    Maybe i can help someone else with those few lines…or delete it if you want.
    You dont gave me the feeling to being not good enough to ask a question…

  109. Bernd Pörner
    Bernd Pörner March 11, 2009 at 1:38 am | | Reply

    Dear Justin,

    I have a weird problem with your plugin and I suspect it has something to do with the theme i’m using (Cutline 1.1 on WordPress 2.7.1). When activating Cleaner Gallery, the gallery of a post isn’t displayed, although the respective HTML code is inserted into the post (for example: http://herr-poerner.de/2009/03/10/test/). When deactivating Cleaner Gallery, the gallery appears, but the WP standard gallery only.

    When using other themes, Cleaner Gallery works fine.

    Any ideas how to edit my theme’s files?

    Cheers,
    Bernd

  110. Frank
    Frank March 11, 2009 at 3:37 am | | Reply

    Any news about the exclude feature yet? WordPress doesn’t come up with something like this it seems?

  111. Stace
    Stace March 11, 2009 at 1:07 pm | | Reply

    There was a post last May that included code to add a “row” property. Justin even mentioned that he might add that functionality. I now find that I need this feature but have been unable to successfully implement the code.

    Anyone else had any luck with this in v .6?

    Thanks for any suggestions or pointers.

  112. Stace
    Stace March 15, 2009 at 10:09 am | | Reply

    Justin – My need for rows is similar to JazzPDX’s: I want to display a small number of images on a front page as a preview/link to larger gallery. If there were a way to specify the maximum number of images to display, that would work, too.

    Can you give me an example of the include/exclude argument you suggest?

    Thanks

  113. Stace
    Stace March 15, 2009 at 10:49 am | | Reply

    Justin – Thanks for the reply. And, yes, rows as you’ve described them wouldn’t be my solution.
    But is there a max image parameter?
    The include/exclude image arguments only seem to work with specific image ids. I’m writing this in to a page template where, for layout reasons, only want to display 4 images, 2×2. Which 4 and the order isn’t important.

    Thanks

  114. mccormicky
    mccormicky March 29, 2009 at 7:33 am | | Reply

    You are the man! Thanks.

  115. Cirurgia Plastica
    Cirurgia Plastica April 5, 2009 at 5:27 pm | | Reply

    Thanx for your release, I downloaded it and tested it in my localhost, and everything looks great. I’m going to upload it on to my blog soon. i´m using arthemia theme and so far it seems great. Thanks for the plugin.

  116. Dan S.
    Dan S. April 10, 2009 at 9:06 am | | Reply

    Justin, I’m having the same problem as Bernd, above, using a cutline-based theme on 2.7.1.

    With the plug-in enabled, galleries disappear, though the source code is there.

  117. Stace
    Stace April 10, 2009 at 11:12 am | | Reply

    Justin – thanks very much for the reply.

    So, I find myself back at the beginning: how to display just one or a few images from a gallery on a front page.

    I’m using your Structure theme – great theme, by the way – and I know part of the excerpt function grabs a single image from the post for display. I haven’t looked at the code for that but is there some way to utilize some of that same function to achieve what I’m after?

    Thanks,
    Stace

  118. Stace
    Stace April 10, 2009 at 12:49 pm | | Reply

    I’ll follow up with the Trac suggestion – thanks for that.

    I appreciate that this might not be the best forum to discuss this stuff but can you suggest another location or point me in the right direction? I feel like I’ve combed the WP forums already, without success.

    Thanks,
    Stace

  119. Stace
    Stace April 13, 2009 at 12:43 pm | | Reply

    The numberposts argument of the get_children function is indeed that “max images” parameter that I was looking for.

    Not sure when v.06 is due but, in the short term, it’s easy enough to add this to the current version.

    Go to /plugins/cleaner-gallery/cleaner-gallery.php.

    Look for

    Add this line

    where 4 is the maximum number of images to be displayed. Remember to add the comma to the end of the line above.

    Hope this helps others.

  120. Stace
    Stace April 16, 2009 at 6:50 pm | | Reply

    Sorry, my code didn’t come out.

    Look for this:

    /*
    * Arguments for get_children()
    */
    $children = array(

    And add this line at the end:

    'numberposts' => 4

  121. Cirurgia Plastica
    Cirurgia Plastica April 25, 2009 at 7:24 am | | Reply

    Excelent plugin. I find your plugin to be very useful. Thanks

  122. Michelle
    Michelle April 25, 2009 at 9:48 am | | Reply

    Hi Justin,

    Thank you so much for this plugin, it’s fantastic!!

    This might be off-topic, but you seemed like someone who might be able to help as my issue concerns the [gallery] short code. I would like to automatically insert id=”##” into the shortcode when my users insert a gallery using the Wordpress WYSIWYG editor. Do you know if there’s any way to do that?

    The reason I need it is because the Subscribe2 plugin I’m using doesn’t recognize which images are attached to a post if the ID isn’t inserted in the [gallery] shortcode. I’m trying to avoid making my users touch the HTML of any post.

    Thank you so much for any help or advice/direction you can give me!

    And THANK YOU for the cleaner gallery plugin, again and again! It rocks.

    Michelle

  123. Adam
    Adam April 28, 2009 at 4:51 pm | | Reply

    Wow, every time I come up with a wish list for Wordpress, I find that you’ve done it. I’m not overly generous with donations, but you’ll be getting one from me.

  124. Stace
    Stace May 1, 2009 at 8:47 am | | Reply

    Justin – Wonderful! Thanks very much!

  125. Mark
    Mark May 2, 2009 at 4:51 pm | | Reply

    Hi Justin,

    The numberposts parameter is great but I’d like to suggest taking it one step further.

    Would it be possible to specify both how many images you want in your gallery (as it does now) and also how many thumbnails are displayed within your post?

    For example, you could have a gallery with 20 images that you want visitors to scroll through but only show the first 2 in your post. Showing all 20 thumbnails would just be overwhelming.

    Thanks for the hard work on this plugin.

  126. Nick Murray
    Nick Murray May 26, 2009 at 4:06 am | | Reply

    Well, it’s over a year later, WP is at v 2.7.1 and the gallery function is still spitting out garbage! Thanks a lot Justin.

  127. Andreas
    Andreas May 28, 2009 at 4:18 pm | | Reply

    I wanted to use html tags in the caption, so i made this modification on line 357:
    $caption = ( $cleaner_gallery['caption_remove'] ) ? wp_specialchars( $attachment->post_excerpt, 1 ) : $attachment->post_excerpt;

  128. Andreas
    Andreas May 28, 2009 at 4:20 pm | | Reply

    I’m sorry, this is the right code:
    $caption = ( $cleaner_gallery['caption_link'] ) ? wp_specialchars( $attachment->post_excerpt, 1 ) : $attachment->post_excerpt;

  129. duard
    duard June 3, 2009 at 6:55 am | | Reply

    It dont work in wp 2.7.1 … I can’t see any images in my gallery :-( !

  130. Mark
    Mark June 3, 2009 at 6:22 pm | | Reply

    Hi Justin,

    Thanks for the reply.

    What numberposts does is limit the number of images shown both in the post and the gallery itself.

    What I’m suggesting (and it’s simply a suggestion, maybe a bad one) is to add a parameter to be able to limit how many images are shown in the post but still allow the gallery to display all images attached to that post. Does that make sense?

    For example, if you have 10 images you want to display via a lightbox gallery script but don’t want 10 thumbnails cluttering your post page, you are able to set the plugin to only show the first thumbnail as en entry point into the rest of your gallery.

  131. rlfinc
    rlfinc June 10, 2009 at 2:37 pm | | Reply

    Justin – wanted to thank and commend you on your efforts with your plugins and overall involvement in the wordpress community. Hoped I might trouble you for some clarifications on the readme.html document bundled into my freshly downloaded “cleaner” plugin.

    I am having an issuing determining how to bring images into my galleries. Finally found a little documentation on the original shortcode and was able to see where my shortcomings were. Reading over the comments above, I was lead to believe I couldn’t exclude certain images. But the readme docment, under the “How to use the plugin” subhead bullets out the exclude parameter as an option.

  132. rlfinc
    rlfinc June 11, 2009 at 1:25 pm | | Reply

    Thank you, the prompt response is greatly appreciated.

  133. zoe
    zoe June 14, 2009 at 7:20 am | | Reply

    thank you. I had so much problems with all these gallerys, but these fits very good :)

  134. Stefan
    Stefan June 15, 2009 at 2:16 am | | Reply

    Hi Justin,

    Mark’s feature request above from June 3, 2009 (“For example, if you have 10 images you want to display via a lightbox gallery script but don’t want 10 thumbnails cluttering your post page, you are able to set the plugin to only show the first thumbnail as en entry point into the rest of your gallery”) is *exactly* what I’m looking for. I’m amazed that none of the other scripts do this. I might want to post one or two photos from a trip but want a lightbox-type gallery to show all 50 photos, for example.

    You’d be VERY popular if you wrote such a script! ;-)

  135. Kevin
    Kevin June 15, 2009 at 4:33 pm | | Reply

    First let me thank you for a great plugin. When I upgraded from .61 to .7 it messed up the gallery display so that the images only show one per line and the spacing between lines is really large so you must scroll to even see the next thumbnail. I went back and it goes back to 3 pictures per row and looks fine. I don’t know if there is a conflict with my css or possibly wordpress. I am using wordpress 2.6.5 and a custom written theme.

  136. skepticwebguy
    skepticwebguy June 15, 2009 at 5:42 pm | | Reply

    An excellent plugin Justin. I recently upgraded to Wordpress 2.8 and the default Thickbox gallery effect I was using no longer works. If there’s anything you can do to remedy it, I’d appreciate it.

    Cheers
    Will

  137. Hisky
    Hisky June 16, 2009 at 11:11 am | | Reply

    @will
    Check if your cleaner gallery plugin got 755er CHMOD rights.
    Or deactivate it, delete it…and re-install it.

    That worked in my blog :)

  138. skepticwebguy
    skepticwebguy June 16, 2009 at 11:36 am | | Reply

    @hisky
    I deactivated the plugin, deleted and re-installed it. I checked for 755 permission on the plugin folder. All good. Still, the Thickbox gallery effect won’t work. I don’t see the Thickbox.js showing up in the source code, which seems odd. Although — I can’t remember if it used to or not. I see the thickbox.css file in the source though.

    Here’s a page it used to work on:
    http://skepticblog.org/2009/05/05/skeptologists-gallery-3/

  139. skepticwebguy
    skepticwebguy June 19, 2009 at 10:51 am | | Reply

    I still can’t get the thickbox option to work in wordpress 2.8. it worked in 2.7.1. I’ve tried deactivating all my plugins, and custom css — to no avail. Something is preventing the thickbox effect from working. is anyone else having this problem in 2.8? I may have to switch to a different solution for my wordpress galleries. Except, there isn’t a plugin out there that makes galleries so slick without requiring the blog author to do anything differently than they’d do without this plugin. The process for uploading images doesn’t change with this plugin like it does with nextgen or others. I like that. So, I really want to get it working again. Can anyone help?

  140. skepticwebguy
    skepticwebguy June 19, 2009 at 11:22 am | | Reply

    I decided to try using a different supported lightbox-type script for the gallery. I downloaded and installed slimbox2, uploaded the javascript to my server, linked to it in the page , uploaded the css and images for slimbox2 and linked to the css in the page , selected “slimbox2″ from the cleaner gallery plugin drop-down menu and saved settings. I then refreshed the page — and — the effect doesn’t work. I still get taken to the image at the full src path with no lightbox effect whatsoever. what gives!

  141. skepticwebguy
    skepticwebguy June 19, 2009 at 11:35 am | | Reply

    hopefully this will shed some light on this subject. I uploaded the example slimbox2 page to my server (http://skepticblog.org/example.html) and using the paths to the js and css on my server. I tested it and it works perfectly! So, why doesn’t the effect work on the blog page?

  142. skepticwebguy
    skepticwebguy June 19, 2009 at 12:20 pm | | Reply

    problem solved! I was never successful at getting the Thickbox effect to work, but I was able to get the Slimbox2 effect to work because I could control where the slimbox2.js file appeared in my header (after the wp_head call which loads the jquery library). Turns out that jquery.js must be loaded BEFORE the slimbox2.js file, otherwise, slimbox2 doesn’t work.

  143. Juergen Schulze
    Juergen Schulze July 7, 2009 at 11:49 am | | Reply

    GREAT
    does what I need
    Thank you

  144. Jane Doe
    Jane Doe July 16, 2009 at 12:57 am | | Reply

    I was never successful at getting the Thickbox effect to work, but I was able to get the Slimbox2 effect to work because I could control where the slimbox2.js file appeared in my header (after the wp_head call which loads the jquery library).

  145. Kishore
    Kishore July 22, 2009 at 1:54 pm | | Reply

    I want to display description and also possibly html in the description. Please help.

  146. Brad
    Brad July 23, 2009 at 4:13 pm | | Reply

    Hi Justin,

    For some reason, the function to remove the cleaner gallery css is no longer working on sites where it worked before. I’m wondering if the parameters of the remove_action function have changed in a Wordpress upgrade.

    Is anyone else experiencing this problem?

    This is the line I used in my functions file:
    remove_action( ‘wp_head’, ‘cleaner_gallery_css’ );

    Thanks!

  147. Kishore
    Kishore July 24, 2009 at 2:30 pm | | Reply

    I have enabled html in the title field and love it but the one issue I have is when I hover over the image it displays all the text and code in it. Is there a way to change that to say to display caption or some default text when u hover over the image?

  148. Kishore
    Kishore July 24, 2009 at 3:51 pm | | Reply

    or even if the html can be prevented from being shown when you hover over the image. that would work for me too.

  149. Julie
    Julie July 27, 2009 at 11:54 am | | Reply

    Hi there !

    I’ve been reading the (numerous ^^) comments, and you’ve asked several times how could a row option be useful. Well, I’m putting a gallery shortcode in my sidebar, in a widget.
    This widget’s gonna display the pictures of a certain page. And I don’t want it to be huge, otherwise it’s gonna make my layout look pretty strange.

    A row option could help me select the number of pictures I want to display. And I don’t want to choose (include or exclude) which pictures I want to display, because the purpose of the widget is to show the latest pictures, and I can’t change the pictures to include or exclude everytime I’m uploading a new picture..

    I haven’t tried your plugin nor JazzPDX code yet but I’m highly interested in that row property !

    Not a very useful comment I know, but keep on the good job ! ;)

  150. Kevin
    Kevin August 7, 2009 at 2:33 pm | | Reply

    Thanks for this Justin,

    I find that everyone jumps right to using a plugin for Gallery management when there’s a robust gallery feature already included in the standard build. I managed to manipulate your code output a bit to remove the rows; allowing me to turn a WordPress Gallery into a cross fading JavaScript slideshow using the jQuery Cycle plugin. I hope the functionality of the Galleries within WordPress improves in the future to allow for better management (re-using images without the need to re-upload).

    I’ve recently included it in my 10 Perfect Plugins for Building a WordPress CMS blog post. Keep up the great work, and thanks!

  151. 4 tolle Wordpress Plugins August 13, 2009 at 12:32 am |
  152. SKunder
    SKunder August 13, 2009 at 7:30 pm | | Reply

    Is their a way to display the description on the thumbnail page beneath the caption?

  153. quickfingers
    quickfingers August 15, 2009 at 7:49 am | | Reply

    Thank you very much, very nice plugin. I will try it.

  154. kalista
    kalista August 19, 2009 at 6:31 am | | Reply

    Again thx for your great work Justin, but the default thickbox gallery no longer works for me too, did i miss something for the setting?

  155. fabske
    fabske August 23, 2009 at 4:47 am | | Reply

    I am using fancybox and the fancybox-gallery-integration-plugin, so your plugin isn’t much usefull for me, but here are some things, which would me make using your plugin:
    I would like to change the style of the gallery, e.g. the border of the gallery and the border of the pictures. Also the distances between the pictures and what would be really great: A integration of the shadow plugin, so that every picture in the gallery would have a little shadow! :)

  156. Benson
    Benson August 26, 2009 at 4:50 am | | Reply

    Yeah cool plugin,

    but it works not for a rss feed?

    i am trying to modifie the “wp-includes/feed-rss2.php” file but i have no clue what i should do, i made several changes wiht out any result.

    can someone give me help please?

  157. Benson
    Benson August 27, 2009 at 1:40 am | | Reply

    Ah ok i got it,

    in the function cleaner_gallery_shortcode is a if ( is_feed() ), the part where my problems are comming from.

  158. Digital Nomad
    Digital Nomad September 13, 2009 at 12:48 pm | | Reply

    Have been looking for a Wordpress Gallery and this plugin get lots of recommendation. I will give it a go. Thanks!

  159. Bryan
    Bryan October 5, 2009 at 2:19 pm | | Reply

    Using this plugin, is there a way to LINK to your image gallery? Like “click here to access the gallery.” And once the link is clicked it opens up your lightbox gallery?

  160. Stoik
    Stoik October 5, 2009 at 3:27 pm | | Reply

    I will use this Plugin on WP2.8.4 and his wont work. I can Enable an disable this Plugin in Backend but cant find the Plugin in the Preferences.

    Th CSS from the Gallery will be load in but not the js.

  161. Fanatos
    Fanatos October 13, 2009 at 6:14 pm | | Reply

    Thanks! it still works with 2.8.4 version :)

  162. dikrhaim
    dikrhaim October 18, 2009 at 12:42 pm | | Reply

    What happened with the exclude feature? I have v0.7 and I can’t find anything in the readme.html.

    I also tried to use it with exclude=”1,2,3″ but it doesn’t seem to work.

    Thanks

  163. Ralf Fuhrmann
    Ralf Fuhrmann October 28, 2009 at 3:09 am | | Reply

    Hi !

    I updated to WP 2.8.5. After that the plugin doesn’t work.
    Are there any updates ?

    Regards
    Ralf

  164. Asad
    Asad October 28, 2009 at 11:53 am | | Reply

    Hi,

    thank you for this one. really good. I would like to display a number of picture for my gallery. right now he is showing like all pictures as thumbnails. i want for example him to display one or three thumbnails. that’s it. if he clicks on the thumbnail the whole gallery should be shown!

  165. version
    version November 4, 2009 at 7:17 pm | | Reply

    Hey,
    Thanks for making your plugin available – just wondering why your list of links to lightbox projects isn’t to the wordpress plugin versions? Since your plugin is for wordpress wouldn’t that make more sense?

  166. Dorataya | WordPress Asylum November 12, 2009 at 5:16 pm |
  167. rockport texas
    rockport texas November 13, 2009 at 4:02 pm | | Reply

    Nice plugin, I was thinking of writing something similar but i dont have the time right now :) thanks!

  168. ScuffedShoes
    ScuffedShoes November 30, 2009 at 12:57 pm | | Reply

    Thanks so much for this plugin. The exclude parameter is something that’s been needed for a while, judging by all the WP Forum posts about it.
    One thing, the readme.html needs to be updated with the exclude shortcode usage. There’s no way of knowing about it except for your one post on this page.
    Any other shortcode unique to your plugin I should know about? Just asking.
    Thanks again.

  169. wordpress » XMM.IR January 20, 2010 at 5:21 am |