Cleaner Gallery
by Justin Tadlock on WordPress.org

Gallery from the Socially Awkward theme.
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 
andelements. - Integrates with Schema.org microdata.
 - Uses the 
aria-describedbyattribute 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
- Lightbox 2
 - Slimbox
 - Slimbox 2
 - Thickbox
 - Lytebox
 - Greybox
 - Lightview
 - jQuery Lightbox Plugin (balupton edition)
 - jQuery Lightbox Plugin
 - Shutter Reloaded
 - Shadowbox
 - FancyBox
 - jQuery Lightbox
 - LightWindow
 - FancyZoom
 - Floatbox
 - Colorbox
 - 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.