plugin-icon

Document Gallery

作者:Dan Rossiter·
This plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.
评级
4.8/5
版本
5.1.0
活跃安装
9K
最后更新
Dec 9, 2025

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.

Translation

Document Gallery has to-date been translated into 6 languages, listed below.

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!

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9
这个插件是可用的下载,适用于您的站点。