This plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.
As of April 2026, Document Gallery is a WordPress pdf plugin with 9.0K+ active installations and a 4.8/5 rating from 112 reviews. It has been downloaded 320K+ times in total. Requires WordPress 6.1+ and PHP 5.6+. Available on WordPress.org since 2012. Downloads are up 25% this week. Support resolution rate: 0%. Top alternative: PDF Invoices & Packing Slips for….
Display your documents beautifully! Document Gallery creates thumbnail galleries for PDFs, Word documents, PowerPoint presentations, and other file types—just like WordPress does for images.
…Hi Dan,
I have been using the Document Gallery plugin for many years and swear by it. It has also been working really well on WP version 6.8.1 with PHP version 7.4.33
Unfortunately when my hosting provider updated to PHP ver 8.3.22, the plugin produced a critical error on the website.
Current setup
WordPress version 6.8.1
Active theme: Total (version 2.1.93)
Current plugin: Document Gallery (version 4.4.3) PHP version 8.3.22
Error Details
An error of type E_ERROR was caused in line 6 of the file /home/ibexind/public_html/wp-content/plugins/document-gallery/inc/class-gallery.php. Error message: Uncaught Error: Class “DG_Gallery” not found in /home/ibexind/public_html/wp-content/plugins/document-gallery/inc/class-gallery.php:6
Stack trace: 0 /home/ibexind/public_html/wp-content/plugins/document-gallery/admin/tabs/general-tab.php(10): include_once() 1 /home/ibexind/public_html/wp-content/plugins/document-gallery/admin/class-admin.php(202): dg_register_settings() 2 /home/ibexind/public_html/wp-includes/class-wp-hook.php(324): DG_Admin::registerSettings() 3 /home/ibexind/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 4 /home/ibexind/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 5 /home/ibexind/public_html/wp-admin/admin.php(176): do_action() 6 /home/ibexind/public_html/wp-admin/options-general.php(10): require_once(‘/home/ibexind/p…’) 7 {main} thrown
I had to deactivate the plugin to get the site operational.
Can you advise which PHP version is the plugin compatible with?
Thanks
Although some administration functions are missing, this plugin is operational on recent versions of WP. I haven’t found the equivalent elsewhere, so it’s a shame it’s not being maintained.
After 1 hour, I give up. I couldn’t find a way to show the shortcode.
Doesn’t work anymore.
This plugin should be taken offline since its not working with current WP versions
| WordPress | 6.1+ requiredTested up to 6.9.4 |
| PHP | 5.6+ required |
To see a list of features planned for the future as well as to propose your own
ideas for future Document Gallery development, take a look at our
issue tracker.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.