This plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.
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.
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.
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.
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,
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.
Requires: 3.6 or higher
Compatible up to: 4.1.1
Last Updated: 2015-1-5
Active Installs: 7,000+
9 of 17 support threads in the last two months have been resolved.
Got something to say? Need help?