C
by Justin Tadlock 4.8 (23 reviews)

Cleaner Gallery

A cleaner WordPress [gallery] that integrates with multiple Lightbox-type scripts.

Cleaner Gallery ranks #4,928 among WordPress.org plugins with 2,000+ active installations, is #538 of 6,303 in the Media category, a 4.8/5 rating from 23 reviews, and was last updated Jul 11, 2014. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 10.0
v1.1.0 Current Version v1.1.0
Updated 12 years ago Last Update on 11 Jul, 2014
Refreshed 13 hours ago Last Refreshed on
#538 of 6,303 in Media Top 10% by installs Downloads -6.3% this week No update in over a year
View on WordPress.org
Rank
#4,928
-7 this week
Active Installs
2K+
-29.4%
KW Avg Position
5
No change
Downloads
216.3K
+3 today
Support Resolved
0%
No change
Rating
96%
Review 4.8 out of 5
4.8 (23 reviews)

Next Milestone 3K

Total Progress 82.7%
2K+ 3K+
683
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 173 more installs to reach 3K+

Rank Changes

4,680 4,804 4,929 5,053 5,177 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
4,680 4,805 4,930 5,054 5,179 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #4,928
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
0 10 20 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.8
23 reviews
Overall 96%
5
21 (91%)
4
1 (4%)
3
0 (0%)
2
0 (0%)
1
1 (4%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Cleaner Gallery. Checked 1 month ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who use the built-in [gallery] shortcode and want lightbox integration for their images. It fixes the invalid HTML produced by WordPress's gallery shortcode and adds accessibility, microdata, and lightbox script integration.

  • Validates invalid gallery HTML
  • Integrates with 18 Lightbox scripts
  • Uses HTML5 elements
  • Schema.org microdata integration
  • Uses aria-describedby attribute
  • Multiple galleries in one post
  • Set number of images shown
  • Exclude or include specific images

Frequently Asked Questions

Common questions about Cleaner Gallery

The purpose of the Cleaner Gallery plugin is to get rid of the invalid HTML output by the default WordPress [gallery] shortcode. Since I was having so much fun with it, I decided to make it compatible with several Lightbox-type image scripts. It has eventually grown into an extremely robust and flexible image script.
If you expect multiple columns of images but only have one column, it's most likely that your theme is doing something incorrectly. Also, the Cleaner Gallery plugin stylesheet doesn't load if your theme supports cleaner-gallery. If that's the case, it's your theme's responsibility to style the gallery output.
It's impossible for me to say for sure without looking at your site. More than likely, your theme is overwriting the gallery styles. You'd need to stop by my support forums for support for your specific case.
The plugin has been tested and works with many different Lightbox-type image scripts. They are all listed in the plugin description.
I don't officially support any third-party code whatsoever. However, I'm more than willing to attempt helping you set up your preferred image script via my support forums.
There's a good chance that I will. It really depends on how feasible it is. Some scripts would require re-coding how the plugin works, which is something I probably won't do. However, most scripts don't require this. If you'd like for me to add a new image script, please provide me with as much information as you can. Particularly, a link to the page where I can download the script and view a demo of it. That will go a long way towards getting support for the script included in this plugin.
Technically, you don't have to set up anything at all. It should work right out of the box.
If you're building a WordPress theme, it's extremely simple to add support for this plugin. Simply add the following line to your theme's setup function: add_theme_support( 'cleaner-gallery' ); Then, copy the plugins css/gallery.css file into your theme's stylesheet. You are free to make any customizations you wish. It's much more flexible than the default WordPress gallery, so you have a lot of freedom with design choices.
Customizing your galleries can be very simple. Here's some CSS you can add to your theme's style.css and modify. /* Style rules for the entire gallery */ .gallery {} /* Style rules for each item (image and caption) in the gallery */ .gallery-item {} /* Style rules for images within the gallery */ .gallery-icon {} /* Style rules for captions within the gallery */ .gallery-caption {}
While the plugin has no way of paginating its own galleries, it's very much possible to make this happen using the WordPress <!--nextpage--> tag. Let's suppose we have 12 images we want to show. The first six will be on the first page while the following six will be on the second page. You'd use this code in the post editor: [gallery numberposts="6"] <!--nextpage--> [gallery numberposts="6" offset="6"]

More plugins by Justin Tadlock

Sign In / Register

You need to sign in or register to use this feature.