PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free
Cleaner Gallery icon
Possibly abandoned #68 in gallery

Cleaner Gallery

This plugin was written to take care of the invalid HTML that WordPress produces when using the [gallery] shortcode.

Active installs2K+1K+ tier
Downloads · 30d514▲ +60.6% vs prev. 30d
Rating4.8/523 reviews
Health score52/100Fair
All-time downloads218.3KSince Mar 2009
Support resolved—No recent threads
RequiresWP 3.9PHP any
Downloads · 7d129▲ +10.3% week over week
Our verdict

Use with caution

Cleaner Gallery works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 4.8/5 and was last updated 9 years ago, and scores 52/100 on our health check.

  • Loved by users — 4.8/5 from 23 reviews
  • Momentum — downloads up 60.6% vs the previous 30 days
  • No update in 8 years

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

61319Aug 25Oct 8Nov 22
Yesterday12
Daily average (1y)7
Peak day26Nov 9, 2026
Last 12 months2.6K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Cleaner Gallery stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
gallery >100 4,815 Best gallery plugins →
images >100 10,000 Best images plugins →
jquery >100 5,334 Best jquery plugins →
lightbox >100 1,648 Best lightbox plugins →
slimbox #5 12 Best slimbox plugins →

Version adoption

Share of active sites per release.

  • 1.188.6%
  • 0.97.2%
  • Other4.2%

Rating breakdown

★★★★★★★★★★ 4.8 from 23 reviews

  • 5★91.3%
  • 4★4.3%
  • 3★0.00%
  • 2★0.00%
  • 1★4.3%

About Cleaner Gallery

From the official readme · v1.1.0

Description

This plugin was written to take care of the invalid HTML that WordPress produces when using the [gallery] shortcode.

It does a bit more than that though. It will integrate with many Lightbox-type scripts and allow you to do much cooler things with your galleries. Plus, it has a couple of extra options that you can play around with.

Features

  • Uses HTML5 <fig> and <figcaption> elements.
  • Integrates with Schema.org microdata.
  • Uses the aria-describedby attribute to make images + captions more accessible to users with disabilities.
  • Validates the invalid code that WordPress spits out.
  • Several options on how you want your gallery images.
  • Allows multiple galleries in a single post.
  • Ability to set the number of images shown in each gallery.
  • Ability to exclude or include any images from your gallery.
  • Doesn’t load any extra CSS or JavaScript unless you choose to do so.

Integrates with 18 different Lightbox-type scripts

  1. Lightbox 2
  2. Slimbox
  3. Slimbox 2
  4. Thickbox
  5. Lytebox
  6. Greybox
  7. Lightview
  8. jQuery Lightbox Plugin (balupton edition)
  9. jQuery Lightbox Plugin
  10. Shutter Reloaded
  11. Shadowbox
  12. FancyBox
  13. jQuery Lightbox
  14. LightWindow
  15. FancyZoom
  16. Floatbox
  17. Colorbox
  18. prettyPhoto

Professional Support

If you need professional plugin support from me, the plugin author, you can access the support forums at Theme Hybrid, which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 40,000+ users (and growing).

Plugin Development

If you’re a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it’s GitHub repository.

Donations

Yes, I do accept donations. If you want to buy me a beer or whatever, you can do so from my donations page. I appreciate all donations, no matter the size. Further development of this plugin is not contingent on donations, but they are always a nice incentive.

Installation

  1. Uzip the cleaner-gallery.zip folder.
  2. Upload the cleaner-gallery folder to your /wp-content/plugins directory.
  3. In your WordPress dashboard, head over to the Plugins section.
  4. Activate Cleaner Gallery.

Changelog

If you're upgrading from a version prior to version 1.0.0 of this plugin, please check your Cleaner Gallery plugin settings page to make sure everything is in order. A few settings changed in the update.

Version 1.1.0

  • Introduce the Cleaner_Gallery class, which allows for better code reuse and consolidates all the gallery functionality.
  • Add support for Schema.org microdata.
  • Added the .gallery-columns-x class.
  • Added the .gallery-size-x class.
  • Added aria-describedby attribute for images with captions for better accessibility.

Version 1.0.0

  • License change from GPL v2-only to GPL v2+.
  • Rewrote large chunks of the plugin from the ground up.
  • Galleries are now HTML5+, using the <fig> and <figcaption> tags.
  • Dropped the caption link setting because captions in WordPress can now have links within them. Removing the setting was the best way to avoid conflicts.
  • Dropped the Cleaner Gallery stylesheet setting. It caused too much confusion for new users. If you’re savvy enough to add styles to your theme, you can handle disabling the stylesheet via the add_theme_support( 'cleaner-gallery' ) method.
  • Much cleaner settings page that now uses the standard Settings API screen design.
  • Upgraded to support all newer WordPress gallery arguments that have been added up to version 3.7.

Version 0.9.1

  • Remove the default feature of overwriting the columns if gallery has too few images since users have asked for this.

Version 0.9

  • Important! Users sould re-save their settings after updating to version 0.9.
  • Completely overhauled the plugin settings page to use the WordPress settings API.
  • Added the option of loading the Cleaner Gallery stylesheet.
  • Made the gallery shortcode script modular, allowing it to be ported to other projects.
  • Added support for the prettyPhoto script.
  • Plugin now only officially supports WordPress 3.0+.

Version 0.8

  • Important! Users sould re-save their settings after updating to version 0.8.
  • Completely recoded the plugin from the ground up for a much needed code overhaul.
  • Added support for the Colorbox script.
  • Added the cleaner_gallery_image_link_class filter hook.
  • Added the cleaner_gallery_image_link_rel filter hook.
  • Removed the link class and rel options in the admin for the more robust filter hooks.
  • Changed the Image Link option to the Default Image Link option, which allows users to always override this setting on a per-post basis.
  • Recognizes custom image sizes created using the add_image_size() WordPress function.
  • Split the plugin into new files so that specific parts of the code are only loaded when needed.
  • Changed the settings page to fully support the screen options and meta box functionality of WordPress.
  • Moved translations to the /languages folder.
  • Added the offset argument so that users could more easily make paginated galleries.

Version 0.7

  • Recoded much of the plugin to be more efficient.
  • Added the cleaner_gallery_id() function to make sure multiple galleries in a single post have different IDs but the same class.
  • Added cleaner_gallery_defaults filter hook.
  • Added cleaner_gallery_default_settings() function to better handle user settings.
  • Moved Lightbox-type image scripts to an external function from the main script (cleaner_gallery_link_attributes()).
  • Deprecated CSS functions in favor of using wp_enqueue_style().’
  • Dropped support for WordPress 2.5.
  • Added support for jQuery Lightbox.
  • Added support for LightWindow.
  • Added support for FancyZoom.
  • Added support for Floatbox.

Version 0.6.1

  • Added numberposts parameter.
  • Added exclude parameter.
  • Added include parameter.

Version 0.6

  • Cleaned up the code to be more efficient and understandable.
  • New options added to the settings page, which include Default Image Size, Default Order, and Default Orderby.
  • Added support for Slimbox 2.
  • Fixed the [gallery columns="0"] error.
  • Fully documented nearly every function and line of code within the PHP files.

Version 0.5

  • Added in an options panel.
  • Support added for Fancybox.

Full changelog on WordPress.org →

Screenshots

Gallery from the Socially Awkward theme.
Gallery from the Socially Awkward theme.
Gallery from the Chun theme.
Gallery from the Chun theme.
Gallery from the Picturesque theme.
Gallery from the Picturesque theme.
Cleaner Gallery settings page.
Cleaner Gallery settings page.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Cleaner Gallery alternatives

All gallery plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Smart Slider 3 Smart Slider 3 Responsive slider plugin to create sliders in visual editor easily. Build beautiful image… by Nextendweb 800K+ ★★★★★★★★★★ 4.9 (1.1K) 4 weeks ago 98
2 Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider Slider, Gallery, and Carousel by MetaSlider Slider, gallery, carousel plugin for WordPress. Build your image slider, video slider, post… by MetaSlider 500K+ ★★★★★★★★★★ 4.6 (743) 5 days ago 94
3 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Photo Gallery, Sliders, Proofing and Themes The most popular gallery plugin that lets you create galleries and albums in seconds. by Syed Balkhi 300K+ ★★★★★★★★★★ 4.3 (4.3K) 6 days ago 92
4 Firelight Lightbox Firelight Lightbox Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and… by Firelight 200K+ ★★★★★★★★★★ 4.8 (366) 2 weeks ago 95
5 Photo Gallery by 10Web – Mobile-Friendly Image Gallery Photo Gallery by 10Web – Mobile-Friendly Image Gallery Photo Gallery is a powerful image gallery plugin with a list of advanced options for… by 10Web 100K+ ★★★★★★★★★★ 4.5 (1.6K) 2 weeks ago 66
6 Responsive Lightbox & Gallery Responsive Lightbox & Gallery The most popular lightbox plugin and responsive gallery builder for WordPress. by dFactory 100K+ ★★★★★★★★★★ 4.9 (2K) 1 month ago 80
7 Simple Lightbox Simple Lightbox The highly customizable lightbox for WordPress by Archetyped 100K+ ★★★★★★★★★★ 4.3 (239) 2 months ago 74
8 Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More Envira Gallery The fastest drag & drop photo gallery plugin. Create stunning image galleries, albums… by Syed Balkhi 100K+ ★★★★★★★★★★ 4.7 (1.6K) 6 days ago 90
9 Lightbox & Modal Popup WordPress Plugin – FooBox Lightbox & Modal Popup WordPress Plugin – FooBox A responsive image lightbox for WordPress galleries, WordPress attachments & FooGallery by FooPlugins 100K+ ★★★★★★★★★★ 3.9 (95) 2 weeks ago 76
10 WP Show Posts WP Show Posts Add posts to your website from any post type using a simple shortcode. by Tom 60K+ ★★★★★★★★★★ 4.7 (80) 3 years ago 36

FAQ

Cleaner Gallery: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Cleaner Gallery free?

Yes. Cleaner Gallery is free to download and use from the official WordPress.org plugin directory.

Is Cleaner Gallery safe to use in 2026?

Cleaner Gallery works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 4.8/5 and was last updated 9 years ago, and scores 52/100 on our health check.

How many websites use Cleaner Gallery?

Cleaner Gallery is active on 2K+ WordPress websites and has been downloaded 218,330 times since it launched in March 2009. It was downloaded 514 times in the last 30 days.

When was Cleaner Gallery last updated?

The latest version, 1.1.0, was released on November 28, 2017 (9 years ago).

Who makes Cleaner Gallery?

Cleaner Gallery is developed and maintained by Justin Tadlock.

What are the best alternatives to Cleaner Gallery?

The most popular alternatives to Cleaner Gallery are Smart Slider 3 (800K+ installs), Slider, Gallery, and Carous… (500K+ installs) and Photo Gallery, Sliders, Pro… (300K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open