Document Gallery icon
Media, Galleries & Sliders

Document Gallery

This plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.

Developer Dan Rossiter
33 Needs attentionmaintenance
  • 14 yearson WordPress.org
  • 5plugins
  • 8,030+installs in total
  • 4.8★avg. rating (115)
  • 20%of plugins updated this year
5/14 badges Profile →

Is Document Gallery safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 4 weeks ago (version 5.1.2).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 5.6+.
  • Pass: Well rated Rated 4.8/5 by 112 users on WordPress.org.
  • Pass: Widely used Active on 8,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Document Gallery describes itself as: “This plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.”

It is active on 8,000+ WordPress sites and rated 4.8 out of 5 by 112 users on WordPress.org. Developers can extend it through 1 actions and 6 filters, listed below.

We haven't published a hands-on review of Document Gallery yet. Want one, or need help with it? Send us a request.

How to install Document Gallery

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Document Gallery” and pick the one by Dan Rossiter.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install document-gallery --activate

Requirements: WordPress 6.1+ · PHP 5.6+ · tested up to WordPress 7.1.5

Hooks & customisation

Document Gallery 5.1.2 fires 1 actions and 6 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

document-gallery — top hooks
// Filter in document-gallery.php
apply_filters( 'dg_use_default_gallery_style', true );

// Filter in src/inc/class-gallery.php
apply_filters( 'dg_gallery_template', … );

// Filter in src/inc/class-document.php
apply_filters( 'dg_icon_template', $doc_icon, $this->gallery->useDescriptions(), $this->ID );

// Action in src/inc/class-gallery.php
do_action_ref_array( 'dg_query', array( &$query, $this->taxa, &$excluded_keys, &$this->errs ) );

// Filter in src/inc/class-gallery.php
apply_filters( 'dg_row_template', … );

// Filter in src/inc/class-thumber.php
apply_filters( 'dg_thumbers', array() );

Browse all 7 hooks with examples →

Document Gallery: frequently asked questions

Is Document Gallery free?

Yes. Document Gallery is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Document Gallery safe to use?

Document Gallery is actively maintained: the latest version was released 4 weeks ago. Users rate it 4.8 out of 5 from 112 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Document Gallery work with WordPress 7.1?

Yes. Document Gallery is tested up to WordPress 7.1, the current release. It requires WordPress 6.1 or later and PHP 5.6 or later.

How many websites use Document Gallery?

Document Gallery is active on 8,000+ WordPress sites, according to WordPress.org. It is currently at version 5.1.2, last updated on October 28, 2026.

What are the best alternatives to Document Gallery?

Plugins that do a similar job and are actively maintained include CatFolders Document Gallery & PDF Library (3,000+ installs).

Can I customise Document Gallery without editing its code?

Yes. Document Gallery 5.1.2 fires 1 actions and 6 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 7 hooks with examples.

Done for you

Need Document Gallery to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Document Gallery customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Dan Rossiter. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Dan Rossiter

All 5 →
Not updated in 9+ years

This plugin is a chance to relive your childhood. Featuring the chalkboard gags of Bart Simpson, this plugin is sure…

20+ installs Updated 10 years ago
Not updated in 13+ years

Plussify your attachments! Attachments++ allows auto-embedding of most document, video and audio files. No need to download that MS Word…

10+ installs Updated 13 years ago 1 hooks
Not updated in 10+ years

Parse various attachments exposing their content as searchable plain text.

Updated 11 years ago 1 hooks
Not updated in 9+ years

You worked hard developing your plugins & themes for the WP.org community. Don't you think you should be able to…

Updated 10 years ago

Alternatives in Media, Galleries & Sliders

See all →
Reviewed

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

1+ million installs Updated 4 weeks ago 17 hooks
Reviewed

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.

1+ million installs Updated 1 week ago 4 hooks
Reviewed

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider, video slider, post slider,…

800,000+ installs Updated 4 weeks ago 12 hooks
Reviewed

Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real…

600,000+ installs Updated 4 weeks ago 46 hooks