305 responses to “Cleaner WordPress Gallery Plugin”

  1. Ian Stewart

    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

    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

    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

    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

    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

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

  7. mccormicky

    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

    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

    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

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

  11. Ultime dal fronte WordPress 16-2008: Sicurezza ed altro

    [...] punto di vista del codice generato, dato che non è valido XHTML. Per cui, provate questo plugin Cleaner WordPress Gallery, che integra anche qualche interessante abbellimento JavaScript come [...]

  12. bearacid

    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. :)

  13. olovito

    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.

  14. Mimos blogg

    [...] gallerifunktionen i Wordpress, för nu har Justin fixat ett plugin för att rätta till alla fel: Cleaner WordPress Gallery Plugin. Insticket gör att sidan validerar, att det skapas alt-taggar på miniatyrerna samt att man [...]

  15. theWizard

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

  16. Brad Mahaffey

    Great plugin, thanks so much!

  17. WordPress Wednesday News: WordCamps Everywhere, Webware 100 Again, Plugins to Fix WordPress 2.5, Change Admin Colors, and More : The Blog Herald

    [...] Alternatives to the Built-in Gallery: Cleaner WordPress Gallery Plugin acts as a replacement with the default gallery feature of WordPress 2.5, and solves a lot of [...]

  18. Reading Circle Books » » WordPress 2.5 Widgets — Taking the Load Off Your Mind

    [...] for more than this summary. [↩]And thanks to Justin Tadlock the widget master for the shiny new Cleaner Gallery plugin! [↩]While I was drafting this, an even more exasperated comparison was posted by Huug and [...]

  19. Hetal Bhagat

    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.

  20. Doug

    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.

  21. Dennis

    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

  22. WordPress Weekly News, 16-2008: security and much more

    [...] not-so well working, because it outputs broken XHTML code (not validated). Here’s the plugin Cleaner WordPress Gallery, that does well the job and adds some nice JavaScript like [...]

  23. Dennis

    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]).'';
    
  24. Matrich

    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.

  25. Andrew Mee

    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.

  26. Mimos blogg

    [...] över att dom inte tagit tag i valideringsfelen från mediagalleriet bland buggfixarna. Så Justins Cleaner WordPress Gallery plugin fick slås på igen. Nu har jag upptäckt att andra små förargliga valideringsfel uppstår [...]

  27. twelvesixteen.net » Wordpress 2.5.1 and Lightview Awesomeness

    [...] other cool feature that l installed was the Cleaner Wordpress Gallery Plugin. This thing is a beauty. Using the native wordpress admin interface, starting at version 2.5, [...]

  28. Perze Ababa

    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";
  29. Matrich

    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.

  30. Shane

    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?

  31. Weblog Tools Collection » Blog Archive » WordPress Plugin releases for 4/28

    [...] Thanks for visiting! If you’re new here, you may want to subscribe to our RSS feed. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. Go ahead, subscribe to our feed! You can also receive updates from this blog via email.Clean WordPress Gallery Plugin [...]

  32. WordPress Image Gallery Test | Quantum Xen

    [...] added the Cleaner WordPress Gallery Plugin and trying it out on the [...]

  33. Bertilo Wennergren

    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…

  34. Charles

    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!

  35. Bertilo Wennergren

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

  36. WordPress 插件推荐(20080428) | 长风破浪会有时

    [...] Clean WordPress Gallery Plugin [...]

  37. tartan - webdesign

    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.

  38. Diseño Web

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

  39. Grant Palin

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

  40. steffy

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

  41. Bertilo Wennergren

    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…

  42. » Gallerie di immagini: Cleaner WordPress Gallery Plugin » Blogg ‘R

    [...] → cleaner-wordpress-gallery-plugin Stampa  (Nessun Voto)  Loading … Tags: gallery, plugin, Wordpress & C., wordpress [...]

  43. Plugin per Wordpress Rilasciati Recentemente | Problogging

    [...] Clean WordPress Gallery Plugin [...]

  44. Kei

    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?

  45. dieKretzschmars.de » Wordpress 2.5 Gallerien mit Dkret3 1.9

    [...] meiner Seite setze ich zusätzlich das Plugin Cleaner Gallery ein. Das Plugin behebt ein paar Fehler der derzeitigen Gallerie-Funktion von Wordpress und bietet [...]

  46. Zodomatica - Bits of Tzaddi's Life

    [...] this post has me a bit disappointed with the integrated gallery feature in WP2.5. I downloaded a cleaner gallery plugin which is a start, but still. There doesn’t seem to be a way to do the things I wanted to do [...]

  47. erwan

    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!

  48. mxxx

    nice plugin mate, works very well.

  49. MightyFunk » Blog Archive » Setting up and Installing Wordpress

    [...] Cleaner Gallery – Fixes WP’s default gallery and provides valid XHTML code instead. [...]

  50. henri

    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

  51. 让WordPress原生相册支持lightbox效果 | Smartr.cn

    [...] Lightbox的Ajax照片显示效果对访客来说是很有吸引力的。但对于WordPress插入整个相册的功能,我们怎样让它们都支持lightbox的便捷浏览效果呢?这里介绍的就是一个增加WordPress原生相册lightbox效果的插件:Cleaner WordPress Gallery Plugin。 [...]

  52. philsblogging

    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!

  53. Links/Articles Tagged Between May 8th and May 12th

    [...] Cleaner WordPress Gallery Plugin: Valid XHTML with integrated Lightbox support :: [Tags: WordPress plugins ] [...]

  54. Galleries in Wordpress 2.5 | AlastairC

    [...] is another pluggin for a similar purpose which appears to make the addition of a lightbox easier (although I don’t think it adds alt [...]

  55. Bildertemplate für WordPress mit image.php » CoreBlog

    [...] Plugin benutzen dass die Bildlinks automatisch für die Verwendung Javascript-gestützter Anzeigemethoden [...]

  56. Marulz Blog » Blog Arşivi » Weblog Tools Collection: WordPress Plugin releases for 4/28

    [...] Clean WordPress Gallery Plugin [...]

  57. JazzPDX

    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;
    		}
  58. Grant Palin

    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.

  59. Leonaut.com

    Cleaner WordPress Gallery Plugin: Valid XHTML with integrated Lightbox support…

    This plugin replaces the default gallery feature in WordPress 2.5 with a valid XHTML solution and offers Lightbox, Slimbox, and Thickbox support….

  60. Philipp

    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/

  61. Philipp

    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!

  62. Philipp

    ok never mind!

  63. JazzPDX

    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.

  64. Seesquared.com » Blog Archive » Wordpress Gallery Plugin

    [...] testing a plugin that I found in one of my friends’ del.icio.us today. It’s called Cleaner WordPress Gallery Plugin and I am really interested to see what I can do with the different ways to display [...]

  65. Dennis

    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.

  66. WordPress 插件发布汇集 - 5月24日 - WordPress中文站

    [...] Clean WordPress Gallery Plugin – WordPress 简洁画册插件 [...]

  67. jocuri

    Great work!

  68. jocuri

    Keep up the good work! 10q

  69. WordPress 2.5 Galerie mit Lightbox - JHRweb

    [...] dieses Problem zu lösen, gibt es jetzt das Plugin „Cleaner Gallery“. Das Plugin ersetzt die Standard Gallerie Funktion von Wordpress 2.5+ mit valid XHTML Code und [...]

  70. bile

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

  71. vas

    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.

  72. vas

    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.

  73. vas

    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.

  74. jandry

    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”;

  75. Pedro

    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.

  76. WordPress Plugins - JHRweb

    [...] Cleaner Gallery: Das Plugin ersetzt die Standard Galerie Funktion von WordPress 2.5+ mit valid XHTML Code und unterstützt viele Lightbox-typen. [...]

  77. Markus

    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

  78. Plugins that run my site

    [...] Cleaner Gallery [...]

  79. alex

    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.

  80. Testing the Cleaner Gallery Plug-in

    [...] Testing the Cleaner Gallery Plug-in [...]

  81. Wordpress Plugin - Galerie in Artikel | FloMage.de

    [...] kann. Das Ding, was die Website dunkel macht und dann im selben Fenster das Bild öffnet. So ein Plugin habe ich nun gefunden. Funktioniert perfekt. Kann ich jedem empfehlen, der dieses dumme 10-Klickers [...]

  82. WordPress 2.6 theme and plugin upgrades

    [...] Cleaner Gallery plugin – Download [...]

  83. Pedro

    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.

  84. Iwan

    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.

  85. Iwan

    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.

  86. The Young Musician’s Club WordPress Site - iamnotagoodartist

    [...] it with the CSS and images created for last year’s site (archived here). Plugin props to Cleaner WordPress Gallery for helping to tame the WP gallery [...]

  87. George

    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

  88. korhan

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

  89. korhan

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

  90. Cleaner WordPress Gallery Plugin at Amateur Photoblogger

    [...] You may see it in action on my site and download from the homepage at Cleaner WordPress Gallery Plugin: Valid XHTML with integrated Lightbox support [...]

  91. Rob

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

  92. nelsdrums

    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.

  93. Gérer correctement les images avec WordPress 2.5 | Iptima

    [...] nous avons déniché une extension écrite par le célèbre Justin Tadlock, Cleaner WordPress Gallery Plugin. Ce plugiciel, d’une taille colossale de 3 Kilo-octets (!), permet d’afficher une [...]

  94. CWFGameCast

    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.

  95. WordPress中文 » Blog Archive » 让wordpress原生相册支持LIGHTBOX效果

    [...] Lightbox的Ajax照片显示效果对访客来说是很有吸引力的(这里效果)。但对于WordPress插入整个相册的功能,我们怎样让它们都支持lightbox的便捷浏览效果呢?这里介绍的就是一个增加WordPress原生相册lightbox效果的插件:Cleaner WordPress Gallery Plugin。 [...]

  96. Donncha O Caoimh

    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!

  97. Pete

    fixed it… css styling probs

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

  98. zampara

    Thanks for the gallery plugin, how to install that?

  99. Omar H

    Thank you! This is perfect. You rock!

  100. ovidiu

    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?

  101. 20 Ultimate Wordpress Plugins - Čolović Vladan

    [...] Cleaner WordPress Gallery Plugin » Force standard gallery feature to produce a valid XHTML output. [...]

  102. dayer

    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

  103. Leo

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

  104. Heed

    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!

  105. stimuli.ca » Blog Archive » Lightbox 2.8.0 plugin for Wordpress

    [...] ‘gallery’ lightboxing functionality in the future… not very soon, however! So try this plugin in the [...]

  106. 10 WordPress Plugins ที่ผมใช้บ่อยๆ | KRISS

    [...] Cleaner Gallery ใช้ร่วมกับ lightbox หลายๆตัวได้ทันที รวมถึง Slimbox ด้วย พอลงแล้ว เราก็ใช้ [...]

  107. murtaza habib

    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

  108. Brady J. Frey

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

  109. ulfben

    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.

  110. ovidiu

    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

  111. ovidiu

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

  112. ulfben

    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. :)

  113. vinay

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

  114. Wordpress 2.5 Galerien mit Dkret3 1.9 - dieKretzschmars

    [...] meiner Seite setze ich außerdem das Plugin Cleaner Gallery ein. Das Plugin behebt ein paar Fehler der derzeitigen Galerie-Funktion von Wordpress und bietet [...]

  115. ulfben

    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. :)

  116. ulfben

    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.

  117. Xt8

    Great plugin man :)

  118. dan

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

  119. vetweb

    great plugin, this is awesome…. thank you

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

  120. Gallery viewing | SubSanity's Asylum

    [...] free. Got tricked into a plugin update which broke the plugin. Fixed it with a combination of Cleaner Gallery and Lightbox 2. Let me know if anything is broken, clicking on all entry images (including those in [...]

  121. Tx8

    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 ?

  122. Tx8

    *idea

  123. All in One Gallery Plugin | All Nice Templates

    [...] use it with 2 other plugins: cleaner-gallery that is just a clean version of the wordpress gallery, works exactly the same way but with cleaner [...]

  124. nrd

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

  125. Merlin Silk

    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

  126. sL1pknot

    Thank you so much.

  127. ulfben

    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. :/

  128. ulfben

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

    to

    ‘orderby’ => ‘menu_order’,

    Caveat: not tested how that goes in WP 2.6.

  129. Andrew J Barnett » Blog Archive » Cleaner Gallery

    [...] You may have noticed the previous post with all the various photographs, well, when I originally posted it, I had troubles with getting the lightbox style to work. That was until I came across Justin Tadlock’s WordPress plugin. [...]

  130. Phil

    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!

  131. Photo Gallery

    GoodCleaner WordPress Gallery Plugin

    but

    is there using with last version WP

  132. Hybrid Wordpress Theme Framework - Oceanic / 人生海海

    [...] Cleaner WordPress Gallery Plugin [...]

  133. AS

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

  134. Wayne

    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.

  135. Johan

    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.

  136. WordPress Watch » Blog Archive » Justin Tadlock - WordPress Plugin and Theme Updates

    [...] The Image Cleaner Gallery Widgets Reloaded JavaScript Logic List [...]

  137. Nova

    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.

  138. Tom

    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

  139. MidnighToker

    @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 :)

  140. toe_head2001

    Can you add support for slimbox 2 also?

  141. My plugins are now hosted on the WordPress plugins repository

    [...] Cleaner Gallery [...]

  142. Hisky

    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…

  143. Hisky

    Grrr. Cant find the old working version.

    Anyone can send me the version 0.4 via Mail!?

  144. Hisky

    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.

  145. Hisky

    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…

  146. Bernd Pörner

    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

  147. Frank

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

  148. walking paper colophon action | walking paper

    [...] Cleaner Gallery and Lightbox 2.0 to help with my least favorite part of WordPress, image handling. [...]

  149. Stace

    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.

  150. Stace

    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

  151. Stace

    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

  152. WordPress Gallery Plugins | Blog Oh Blog

    [...] Check it out here :- Cleaner WordPress Gallery Plugin [...]

  153. Exploring the Power and Variety of Image Gallery WordPress Plugins « Lorelle on WordPress

    [...] Cleaner WordPress Gallery Plugin [...]

  154. mccormicky

    You are the man! Thanks.

  155. 推荐十款 WordPress 相册插件 at 站趣-分享建站的乐趣

    [...] 插件地址:Cleaner WordPress Gallery Plugin [...]

  156. Cirurgia Plastica

    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.

  157. Dan S.

    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.

  158. Stace

    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

  159. Stace

    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

  160. Stace

    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.

  161. Stace

    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

  162. The best image gallery WordPress Plugins « Professional Free Wordpress Skins

    [...] gives your galleries a lightbox view and displays the associated metadata with the pictures. Cleaner WordPress Gallery Plugin This awesome plugin gives you complete control over your image galleries. It creates valid XHTML [...]

  163. Cirurgia Plastica

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

  164. Michelle

    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

  165. Adam

    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.

  166. Stace

    Justin – Wonderful! Thanks very much!

  167. Mark

    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.

  168. Nick Murray

    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.

  169. Andreas

    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;

  170. Andreas

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

  171. duard

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

  172. Mark

    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.

  173. rlfinc

    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.

  174. rlfinc

    Thank you, the prompt response is greatly appreciated.

  175. zoe

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

  176. Stefan

    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! ;-)

  177. Kevin

    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.

  178. skepticwebguy

    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

  179. Hisky

    @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 :)

  180. skepticwebguy

    @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/

  181. Lesestoff von 7. Mai 2009 bis 17. Juni 2009 | jorni.de

    [...] Cleaner WordPress Gallery Plugin: Schönes Plugin, um die integrierten Bildergalerien von Wordpress valide zu machen, mit voller Lightbox-Unterstützung. [...]

  182. skepticwebguy

    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?

  183. skepticwebguy

    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!

  184. skepticwebguy

    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?

  185. skepticwebguy

    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.

  186. WordPress Gallery Plugins | DreamNest - Technology | Web | Net

    [...] Check it out here :- Cleaner WordPress Gallery Plugin [...]

  187. How I got started with WordPress – A Beginer’s Compendium | Hexameta

    [...] of this post: Add to Any: Share/Bookmark/Email Button, Akismet, All in One SEO Pack, Bad Behavior, Cleaner Gallery, Enhanced WP-ContactForm, Google XML Sitemaps, One Click Plugin Updater, Shadowbox JS, Twitter [...]

  188. Andurin’s Blog » WP: In Wort und Bild

    [...] neue Gallery Seite ist somit schon recht rund geworden. Gabi’s Tipps, das Cleaner WordPress Gallery Plugin und für, das eigentlich verhasste, “KlickiBunti” noch ThickBox Plugin, werden wohl in [...]

  189. Juergen Schulze

    GREAT
    does what I need
    Thank you

  190. Jane Doe

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

  191. Wordpress Galeri Eklentileri 10 Adet (ing) - Google Fan Webmaster Forum

    [...] resize. You can also control the display of your images through CSS styling. Check it out here :- Cleaner WordPress Gallery Plugin Lightbox Gallery Plugin This plugin changes the view of galleries to the Lightbox view and also [...]

  192. Kishore

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

  193. Brad

    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!

  194. Kishore

    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?

  195. Kishore

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

  196. Julie

    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 ! ;)

  197. Outta Bounds – One BIG WordPress Site: A Case Study

    [...] Cleaner Gallery – a must-have if you’re using galleries, also helpful for including Thickbox [...]

  198. 10 Perfect Plugins for Building a WordPress CMS | kevinleary.net

    [...] Cleaner Gallery for Semantic WordPress [...]

  199. Kevin

    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!

  200. 4 tolle Wordpress Plugins

    [...] Cleaner Gallery [...]

  201. SKunder

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

  202. Lightbox Photo Gallery Display | KokPinLab.com

    [...] it to use Lightbox. Programming is just not my cup of tea. I utilized a Wordpress Plugin called Cleaner Wordpress Gallery for setting up the wordpress gallery for [...]

  203. quickfingers

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

  204. kalista

    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?

  205. fabske

    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! :)

  206. Benson

    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?

  207. Benson

    Ah ok i got it,

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

  208. How to set up a Wordpress Blog | Lunarlog

    [...] Cleaner Gallery: Word­press by default writes invalid XHTML. This plu­gin auto­mat­i­cally cor­rects the XHTML mak­ing it eas­ier on search engines. Why it’s not included with a default Word­press (or why they don’t fix it in the first place) will always be beyond me. Oh well, more power to those who use it… [...]

  209. Digital Nomad

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

  210. Gallerie di Immagini in Wordpress: Ecco i migliori 10 plugin in circolazione | Blographik - Grafica, web design e risorse per blogger

    [...] Ecco il plugin: Cleaner WordPress Gallery Plugin [...]

  211. Bryan

    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?

  212. Announcing (drum roll)… the all new PoetryProject.org | Bad Feather | We’re only getting badder

    [...] used, if you’re curious: Contact Form 7,  Audio Player, Smart YouTube, WP Super Cache, Cleaner Gallery and a few more. We went plugin crazy on this [...]

  213. Stoik

    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.

  214. Fanatos

    Thanks! it still works with 2.8.4 version :)

  215. Galerie mit Lightbox in Wordpress » blumenstrasse

    [...] Cleaner Gallery Das sorgt dafür, dass der eingebaute Code der Galerie so umgebaut wird, dass wir das nächste Plugin benutzen können [...]

  216. dikrhaim

    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

  217. 10个WordPress 相册插件 | 龙岩seo-专注龙岩网站建设|龙岩网站seo|龙岩网站优化|龙岩seo优化|闽西网

    [...] WordPress Gallery Plugin 点击这里查看 :- Cleaner WordPress Gallery Plugin Lightbox Gallery Plugin 点击这里查看 :- Lightbox Gallery Plugin FlippingBook Gallery Plugin [...]

  218. Så migrerade jag till Wordpress | cynatic.org

    [...] Cleaner Gallery – Smidigt och enkelt galleri som används till min portfolio [...]

  219. Cleaner WordPress Gallery Plugin « Educación Física en el IESO Nº 1

    [...] Cleaner WordPress Gallery Plugin. [...]

  220. Ralf Fuhrmann

    Hi !

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

    Regards
    Ralf

  221. Asad

    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!

  222. version

    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?