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,412 among WordPress.org plugins with 8,000+ active installations, is #305 of 6,001 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.0.2)
v5.1.1 Current Version v5.1.1
Updated 4 weeks ago Last Update on 30 Jun, 2026
Refreshed 13 hours ago Last Refreshed on
#305 of 6,001 in Media Top 5% by installs Downloads -18% this week Actively maintained
View on WordPress.org
Rank
#2,412
No change
Active Installs
8K+
No change
KW Avg Position
48.8
0.2 worse
Downloads
320.7K
+63 today
Support Resolved
0%
No change
Rating
96%
Review 4.8 out of 5
4.8 (112 reviews)

Next Milestone 9K

Total Progress 74.8%
8K+ 9K+
58
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 252 more installs to reach 9K+

Rank Changes

2,290 2,351 2,412 2,473 2,535 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
2,290 2,352 2,414 2,476 2,539 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
2,399 2,405 2,411 2,417 2,423 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
2,382 2,392 2,403 2,413 2,423 29-04-2026 30-04-2026 01-05-2026 02-05-2026 03-05-2026 04-05-2026 05-05-2026 06-05-2026 07-05-2026 08-05-2026 09-05-2026 10-05-2026 11-05-2026 12-05-2026 13-05-2026 14-05-2026 15-05-2026 16-05-2026 17-05-2026 18-05-2026 19-05-2026 20-05-2026 21-05-2026 22-05-2026 23-05-2026 24-05-2026 25-05-2026 26-05-2026 27-05-2026 28-05-2026 29-05-2026 30-05-2026 31-05-2026 01-06-2026 02-06-2026 03-06-2026 04-06-2026 05-06-2026 06-06-2026 07-06-2026 08-06-2026 09-06-2026 10-06-2026 11-06-2026 12-06-2026 13-06-2026 14-06-2026 15-06-2026 16-06-2026 17-06-2026 18-06-2026 19-06-2026 20-06-2026 21-06-2026 22-06-2026 23-06-2026 24-06-2026 25-06-2026 26-06-2026 27-06-2026 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
Current #2,412
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 50 100 150 200 250 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
0 50 100 150 200 250 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
0 500 1K 1.5K 2K 2.5K 3K 28-06-2026 29-06-2026 30-06-2026 01-07-2026 02-07-2026 03-07-2026 04-07-2026 05-07-2026 06-07-2026 07-07-2026 08-07-2026 09-07-2026 10-07-2026 11-07-2026 12-07-2026 13-07-2026 14-07-2026 15-07-2026 16-07-2026 17-07-2026 18-07-2026 19-07-2026 20-07-2026 21-07-2026 22-07-2026 23-07-2026 24-07-2026 25-07-2026 26-07-2026 27-07-2026 28-07-2026
0 500 1K 1.5K 2K 2.5K 3K 29-04-2026 02-05-2026 05-05-2026 08-05-2026 11-05-2026 14-05-2026 17-05-2026 20-05-2026 23-05-2026 26-05-2026 29-05-2026 01-06-2026 04-06-2026 07-06-2026 10-06-2026 13-06-2026 16-06-2026 19-06-2026 22-06-2026 25-06-2026 28-06-2026 01-07-2026 04-07-2026 07-07-2026 10-07-2026 13-07-2026 16-07-2026 19-07-2026 22-07-2026 25-07-2026 28-07-2026
0 500 1K 1.5K 2K 2.5K 3K 28-07-2025 09-08-2025 21-08-2025 02-09-2025 14-09-2025 26-09-2025 08-10-2025 20-10-2025 01-11-2025 13-11-2025 25-11-2025 07-12-2025 19-12-2025 31-12-2025 12-01-2026 24-01-2026 05-02-2026 17-02-2026 01-03-2026 13-03-2026 25-03-2026 06-04-2026 18-04-2026 30-04-2026 12-05-2026 24-05-2026 05-06-2026 17-06-2026 29-06-2026 11-07-2026 23-07-2026 28-07-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%)

Tracked Keywords

Showing 5 of 5
Keyword Position Change Type Updated
word 9 Tag 1 day ago
documents 12 Tag 1 day ago
attachments 32 Tag 1 day ago
library 91 Tag 1 day ago
pdf 100 Tag 1 day ago

Unlock Keyword Analytics

Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.

  • Full keyword position tracking
  • Historical ranking data
  • Competitor keyword analysis
Upgrade to Pro

Support Threads Overview

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

Security History

Source: WPVulnerability

1 known vulnerability on record · 1 in the last 24 months · checked 10 hours ago

  1. Document Gallery [document-gallery] < 5.1.1

    CVE-2026-57695 · 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.