Hi Jackie,
In answer to your first question regarding icons for non-PDF documents, yes. In order to make that possible, you’ll need to enable Google Document Viewer as a thumbnail generator. To do that, in your dashboard navigate to Settings -> Document Gallery -> Thumbnail Generation -> Google Drive Viewer
.
In regards to the fancy flag, true is the default value so you should be able to leave that off. That said, you shouldn’t be getting an error for explicitly including that. Can you please copy the exact error message you’re getting?
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂
Hey Dan,
First, when I go to Settings>Doc Gallery>Thumbnail Generation and then select Google Drive Viewer then save, the selection becomes unchecked.
The error message I’m getting is: [fancy=true is not a valid term name in 0.
Thanks,
Jackie
Jackie,
Are you including these (“[” & “]”) around your fancy attribute? Those are a notation to indicate that the attribute is optional, but should not be included in your actual shortcode. Your shortcode should be something along the lines of this: [dg fancy=true ids=42,12,10]
After saving the change to thumbnail generators, are you getting any kind of error message?
Other question is which version of WordPress and Document Gallery are you using?
-Dan
Hi Dan,
So sorry for the delayed response. I am not using the brackets (truthfully I have tried both ways and neither works).
I’m not getting any error messages. I just save the changes and then the top of the page says “settings have been saved” or whatever the standard message is. But when I scroll down the checkmark by Google Viewer is gone.
I’m using the latest version of Doc Gallery and haven’t upgraded yet to the latest WordPress because we are currently registering users and I can’t do an overhaul right now.
Thanks!
Jackie,
I assume the version of WP you are using is at least greater than 3.6?
Unfortunately the next step to debug is more involved. We’re going to need to pull a value directly out of the database.
The query we need to run is this:
SELECT option_value FROM wp_options WHERE option_name = 'document_gallery'
(Note that “wp_options” could have a prefix other than “wp_” depending on your config settings.)
Without knowing how your server is setup, unfortunately I can’t be a whole lot of help in telling you how to get to a console where you will be able to run that query.
If you run into issues, please let me know and I will do what I can to help further.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂