Document Gallery
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.
Key Features
- WordPress Block Editor – Insert galleries with a single click, configure visually
- Automatic Thumbnails – Generates preview images for documents (PDF, Office files, etc.)
- Modern Image Formats – Full support for WebP and AVIF images (WordPress 6.5+)
- Flexible Display – Grid or list layout with optional descriptions
- Smart Filtering – Show all attachments, current post only, or specific documents
- Pagination Support – Handle large document libraries efficiently
- Fully Customizable – Control columns, sorting, links, and styling
- Classic Shortcode –
[dg]shortcode available for template use
Perfect For
- Document libraries and resource centers
- Portfolio and work sample galleries
- Publication and whitepaper collections
- Course materials and downloads
- Legal document repositories
Block Editor Integration
Click the ‘+’ button in the editor and search for «Document Gallery» to insert a gallery block. All configuration options appear in the sidebar—no shortcode knowledge required. Select specific documents or let the gallery auto-populate based on your criteria.
Shortcode Support
The classic [dg] shortcode continues to work perfectly for template files, widgets, and power users who prefer code-based configuration. See the Installation tab for all available options.
Developer Friendly
Document Gallery provides extensive filters and actions for customizing thumbnail generation, HTML output, and gallery queries. See the Installation tab for complete developer documentation.
Partners
- WP Real Media Library: Document Gallery seamlessly integrates with RML by way of a helper plugin.
Traducción
Document Gallery has to-date been translated into 6 languages, listed below.
- Finnish — Thanks, villevetela!
- French — Thanks, Marc Liotard and Traffic Influence!
- Russian — Thanks, demur!
- Spanish — Thanks, Andrew Kurtis and WebHostingHub!
- Swedish — Thanks, mepmepmep!
- Ukrainian — Thanks, demur!
Developers
Document Gallery includes features intended to make integration with other plugins simple. See the bottom of the Installation tab for specific documentation on the various features provided.
If this plugin has helped you, please take a moment to rate it!