WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Document Gallery

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

Q: Why is [insert thumbnail generation method] enabled on one of my WordPress installs, but not on another one?

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, Document Gallery will notice this and re-enable the option on the settings page, though you will need to go in and tell Document Gallery that it should use this newly-enabled method.

Q: Why is Ghostscript so much faster than Imagick?

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, can handle reading only one page into memory, thus doing much less work before returning our thumbnail.

Q: Why isn't Google Drive Viewer enabled by default?

A: Google Drive Viewer is the most commonly-supported thumbnail generation method, alongside the Audio/Video generation, but is disabled by default. The reason for this is that in order to use this method, Document Gallery has to send your document over to Google's servers, where Google will generate the thumbnail for you. For most users, this shouldn't be a big deal, but since some users retain sensitive documents on their site, this was made opt-in to avoid compromising anyone's security. If you don't have sensitive documents, I would recommend enabling it, since it's currently the only way to generate a thumbnail for any of the Microsoft Office files, as well as some less common file types.

Requires: 3.6 or higher
Compatible up to: 3.9.2
Last Updated: 2014-6-4
Downloads: 31,172

Ratings

4 stars
4.9 out of 5 stars

Support

6 of 16 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2
100,2,2
0,1,0 100,1,1 100,1,1 100,1,1 100,1,1 0,1,0 100,1,1
100,1,1 0,1,0 80,5,4
100,1,1 100,1,1 100,1,1
50,2,1
100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 50,2,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1
100,2,2