Document Gallery
by Dan Rossiter 4.8 (112 reviews)

Document Gallery

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

Document Gallery ranks #2,397 among WordPress.org plugins with 8,000+ active installations, is #304 of 6,305 in the Media category, a 4.8/5 rating from 112 reviews, and was last updated Jun 30, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.9 (Current: 7.1)
v5.1.1 Current Version v5.1.1
Updated 2 months ago Last Update on 30 Jun, 2026
Refreshed 13 hours ago Last Refreshed on
#304 of 6,305 in Media Top 5% by installs Downloads -8.6% this week
View on WordPress.org
Rank
#2,397
-3 this week
Active Installs
8K+
-9%
KW Avg Position
45.4
No change
Downloads
320.7K
+25 today
Support Resolved
0%
No change
Rating
96%
Review 4.8 out of 5
4.8 (112 reviews)

Next Milestone 9K

Total Progress 73.4%
8K+ 9K+
68
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 266 more installs to reach 9K+

Rank Changes

2,273 2,334 2,395 2,456 2,517 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
2,273 2,335 2,396 2,457 2,519 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 #2,397
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

20 30 40 50 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
20 30 40 50 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
112 reviews
Overall 96%
5
97 (87%)
4
10 (9%)
3
1 (1%)
2
0 (0%)
1
4 (4%)

Support Threads Overview

Resolved
Unresolved
1
Total Threads
0
Resolved
1
Unresolved
0%
Resolution Rate

Security History

Source: WPVulnerability

2 known vulnerabilities on record · 2 in the last 24 months · checked 2 days ago

  1. Document Gallery [document-gallery] < 5.1.1

    CVE-2026-57695 · Fixed in v5.1.1

  2. Document Gallery [document-gallery] < 5.1.1

    CVE-2026-12982 · Fixed in v5.1.1

TL;DR

AI summary of the plugin's readme

Document Gallery is for WordPress site owners who need to share collections of documents like PDFs, Word files, and PowerPoint presentations. It solves the lack of a built-in way to display non-image files as thumbnail galleries, generating previews and organizing them into customizable grid or list layouts.

  • Automatic document thumbnail generation
  • WordPress Block Editor integration
  • WebP and AVIF image support
  • Grid or list layout display
  • Smart filtering of attachments
  • Pagination support
  • Classic [dg] shortcode support
  • WP Real Media Library integration

Frequently Asked Questions

Common questions about Document Gallery

A: In the WordPress Block Editor, click the '+' button to add a new block and search for "Document Gallery". Once inserted, you'll see a preview of your gallery. Click on the block to access the settings panel on the right side, where you can configure: Limit to Current Post - Toggle to show only attachments from this post or all attachments Columns, Order, Descriptions - Control gallery layout and appearance
The gallery updates in real-time as you adjust settings. No document selection is required if you want to show all attachments matching your criteria. Q: I'm using taxonomies, but nothing is showing up in my gallery A: Remember that Document Gallery defaults to retrieving just attachments for the current post/page. If you want a broader scope of attachments, you'll also need tell Document Gallery to search everywhere like so: [dg id=-1 category="My Awesome Category"]. Q: Ghostscript is installed on my server, but it's not working! A: Document Gallery does a pretty good job of detecting where Ghostscript is installed, but on some installs it may need a little help. To check whether this is the case, navigate to Dashboard -> Settings -> Document Gallery and see if there is a notice next to the Ghostscript checkbox indicating that your server is not properly configured. If that notice does exist, the next step is to go to the Advanced tab on that same page and see if the Ghostscript path is set. If it is not, you'll need to manually fill it with the location for your Ghostscript install (eg: /usr/local/bin/gs). Once that change is saved, the Ghostscript checkbox should be enabled on the first tab.
A: Assuming that you do not have the columns attribute set to 1, the likely cause of this behavior is that descriptions are enabled. To fix this, simply add descriptions=false (eg: [dg descriptions=false]).
A: Document Gallery works very hard behind the scenes to ensure that it enables as much as is possible for any given server, but some servers just can't do some of the things that the plugin supports. Document Gallery detects when a server can't do something (run Ghostscript, for example) and disables that option. If you later modify your server to handle one of the thumbnail generation methods,
though you will need to go in and tell Document Gallery that it should use this newly-enabled method.
A: This comes down to how the two programs work. Imagick actually delegates handling of PDFs to Ghostscript behind the scenes, but it doesn't do so intelligently. Before passing off the PDF, it first reads the entire contents of the PDF into memory. Since we only need a single page to generate the thumbnail, this is much more work than is needed. Ghostscript, on the other hand,
returning our thumbnail.

Sign In / Register

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