Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Description padding and alignmentGlad to be of service! π
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Description padding and alignmentHi pflefler,
Your HTML has an extra
<br>tag. I presume you’re using PHP filters to change the DG output? If so, you’ll want to remove that BR. Once that’s done, the two top of the image should align with the description.-Dan
Forum: Plugins
In reply to: [Document Gallery] Description padding and alignmentHi Pat,
You probably want something along these lines.
.descriptions > .document-icon { margin-top: none !important; margin-right: 15px !important; /* pick whatever you like for this number */ }-Dan
Forum: Plugins
In reply to: [Document Gallery] Title – Icon AlignGlad to be of service! π
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] A file of 31 slides in PDF won't post on my websiteHi dorothyp,
By slides, do you mean a PowerPoint file? If so, Document Gallery requires a Thumber.co subscription in order to process Microsoft Office files along with some more obscure file types.
If not, can you please do the following to help me identify what might be going wrong:
1. Go toDashboard -> Settings -> Document Gallery -> Advanced (tab), check the enable logging box and save.
2. Go to theThumbnail Managementtab and find the file you are trying to process. Check the box next to it and delete.
3. Go to the page where your gallery with the file is located and wait for DG to try and process the file.
4. Go back to the Document Gallery settings and open the Logging tab. What is logged? SpecificallyErrorandWarninglogs.-Dan
Forum: Plugins
In reply to: [Document Gallery] Title – Icon AlignHi michelabozza,
My colleague has come up with a solution that should meet your requirements:
.document-icon { width: 100% !important; } .document-icon > a { display: table !important; table-layout: fixed; border: none !important; } .document-icon > a > img { display: table-cell !important; min-width: 89px; border: 2px solid transparent !important; border-radius: 5px; } .document-icon > a > span { display: table-cell !important; text-align: left !important; vertical-align: middle !important; padding-left: 5px; text-decoration: underline; } .document-icon > a:hover > img { border-color: #006a9b !important; } .document-icon > a:hover > span { text-decoration: none; } .document-icon-row.descriptions > .document-icon { max-width: none !important; }This would work the same for
descriptions = falseandtrueexcept for descriptions themselves; to turn description field off (while descriptions true :D).document-icon-row.descriptions > p { display: none; }To make the code work only for descriptions true mode one should add
.descriptions > before each .document-iconForum: Plugins
In reply to: [Document Gallery] Title – Icon AlignHi michelabozza,
It’s definitely possible. You’ll need to use custom CSS (under
Dashboard -> Settings -> Document Gallery).If I have some free time this weekend, I’ll try to throw something together.
-Dan
Hi Crunch Monkey,
If you disable all other plugins and switch to a default theme (maybe WordPress Twenty Sixteen), does the issue resolve itself? My guess is you have another plugin or custom theme that is not behaving resulting in Document Gallery not working as expected.
-Dan
Forum: Plugins
In reply to: [Document Gallery] PDF icon did work in previous version?Hi Rob,
Without Ghostscript or IMagick available, there is no way to locally generate PDF icons on your server. Thumber.co is the only way you’d be able to get thumbnails.
A few years ago, Google Drive was an option to get PDF thumbnails, but that functionality was removed when Google removed the old version of Google Drive where this was possible.
Sorry!
-Dan
Forum: Plugins
In reply to: [Document Gallery] how to make documents exclusive to membersHi mar-deleon,
Unfortunately what you are asking for is way outside the scope of Document Gallery. If you find another plugin that correctly privatizes attachments then Document Gallery will correctly display them only to users with the right permissions.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Title – Icon AlignHi Michela,
Can you show what you mean? I’m not sure I understand.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Size changes not workingHi ngentile,
Something like this should do the trick (untested):
.document-icon { size: 20px }.-Dan
Forum: Plugins
In reply to: [Document Gallery] PDF Thumbnails replaced by PDF iconSince there has been no update to this post in over a month, I’m going to go ahead and mark it as resolved. Feel free to re-open if you have any additional information.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Size changes not workingForum: Plugins
In reply to: [Document Gallery] Filter for keeping columns when description enabled.Hi tpad,
You’re looking for the solution my colleague posted a few weeks ago.
FYI, we are planning to have this functionality built into DG shortly, but the above is a good interim solution.
-Dan