Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] PDF Thumbnail PreviewHi Hyemin,
In order to have PDF previews, you either need Ghostscript installed or you need the Imagick PHP extension installed. The latter may or may not handle PDFs depending how it’s installed.
If you go the ghostscript route, once it’s installed, you’ll need to set the Ghostscript executable path at
Dashboard -> Settings -> Document Gallery -> Advanced, then enable the thumbnail generation method at the bottom of General tab.-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Installation with Wamp on a localhostSounds good, Felurian!
When you move to production, feel free to reach out if you run into any issues!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Installation with Wamp on a localhostHi Felurian,
I’m glad Ghostscript is working!
With IMagick, the logic which determines whether that checkbox is enabled is all within WP core and depends on IMagick being configured right. If it’s disabled, that means that it’s not installed correctly. I did a bit of googling and this guide seems to be a good one for WAMP: http://www.devside.net/wamp-server/installing-and-using-imagemagick-with-imagick-php-extension-php_imagick-dll-on-wamp.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Installation with Wamp on a localhostHi Felurian,
I’m glad you enjoy Document Gallery, and I apologize for the late response.
Ghostscript, unlike IMagick, does not require a special PHP extension. You just need a path to the Ghostscript program. For windows, the executable is going to be called something like “gswin??c.exe”.
Does that help at all?
-Dan
Forum: Plugins
In reply to: [Document Gallery] "No attachments to display" after installing GhostScriptHi Yulia,
The first thing I notice is that your ghostscript path is wrong. You’re point at the directory containing the executable, but it needs to point to the actual executable.
But that doesn’t actually address your problem. What you’re describing suggests that you don’t have any attachments on the post/page where you’re using the shortcode. Two questions 1) What is the exact shortcode being used? 2) In the edit dialog for the post/page where you’re using the shortcode, if you click “Add Media,” then select “Uploaded to this page.” Are there any attachments listed?
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Hi pierowbmstr,
That seems reasonable. Thanks for providing the patch!
I’ll plan to have this included in the next release.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Open PDF opposed to downloading it?Hi Dartagnune,
The behavior of following a link to a PDF is purely browser-dependant. If your browser can open PDFs, as many can, then that is what will happen.
If you want open behavior across browsers, you would have to look at something PDF.js. This could be integrated with Document Gallery, but you would probably need a developer to create a setup like that for you.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Large thumbnails generated, but shown small.You got it! π
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Feature RequestThanks for clarifying.
Unfortunately, just because of how Document Gallery is designed, that will likely never happen. Everything is built dependant on logic WordPress exposes for its attachments. If we’re dealing with arbitrary files that may or may not be “attached” within WordPress, we’d have to manually handle all of that logic.
I’ll keep it in mind, but just don’t want you to get your hopes up.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Custom IconGlad that worked out!
Forum: Plugins
In reply to: [Document Gallery] Feature RequestHi BigStache,
I’m not sure I fully understand the request. Can you elaborate?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Custom IconHi cq,
Firstly, you’re very welcome! I’m glad it is proving useful for your.
For the Thumbnail Management tab, it will only include thumbnails for attachments that have been cached, so sometimes it will be empty.
When the attachment is not listed in that tab, you’ll want to go directly to that attachment’s edit page. From the Meida Manager, accessed via the Media Library Dashboard tab, click the attachment you want to set the thumbnail for, then “edit more details” at the bottom, then you’ll see a place to upload an icon for that attachment when displayed in the Document Gallery.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Custom IconHi cq,
If you’re dealing with one-off instances where you want a different icon, that can be achieved by uploading a custom icon.
If you go to
Dashboard -> Settings -> Document Gallery -> Thumbnail Management, you’ll notice that there is an option to upload an icon for each of the attachments. This functionality is also included at the bottom of each attachment’s edit page.-Dan
Forum: Plugins
In reply to: [Document Gallery] CSS calc not workingHi ryleef,
This is probably being stripped out in the minification process. I’ll have to dig into that and see if we can resolve this.
Thanks for reporting this issue!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Where to put new window short code using ID'sGlad to be of service!
-Dan