Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Struggling with thumbnail sizes (and columns)Hi justjd77,
You’re almost there. You want this:
.document-icon-row .document-icon { max-width: 500px !important; } .document-icon img { width: 500px !important; height: 500px !important; }With multiple columns, it sounds like you’ve got descriptions enabled. If that’s the case, DG does not natively support multiple columns, however my colleague has posted a solution that allows you to bypass this limitation. We are working on adding support for multiple columns when descriptions are enabled, but that functionality isn’t quite ready for prime time! π
-Dan
Forum: Plugins
In reply to: [Document Gallery] Limit the number of documentsHi Speex,
This is definitely possible. When creating your gallery through the
Insert Mediadialog on your post/page, just set thePaginatevalue to “no” and theLimitvalue to whatever you want the limit to be. Setting yourorderbyvalue to “date” will result in the newestXdocuments being displayed.-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesHi Philip,
Are you referencing the same issue you posted about months ago? If so, the answer is the same as before: DG is not designed to run on the front end and the visual editor is going to be missing lots of dependencies unless Themify handles all of those missing dependencies (which based on what you’re seeing it presumably does not).
-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesAll,
Following up on this, version
4.1.13of DG includes a change which should minimize issues encountered when IMagick is enabled on a HostGator server. I’ve moved the logic that HG was choking on so that it only runs when actual thumbnail generation is happening (so this should only ever run on the front-end on a page/post with galleries rather than on every page load like it was previously).Note that this is a work around and you could still encounter some issues, but things should be much better if you do wish to enable IMagick thumbnail generation.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Add shortcode attribute for include_childrenWill do!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Add shortcode attribute for include_childrenInteresting! Yes, that is a very reasonable request. I’ll plan to include this in the next release.
Thanks for the suggestion!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesFantastic! I’ll continue working on getting the IMagick issues resolved, but at least we have a workable solution.
HG is still doing something odd, but at least I have a more specific idea what it is.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesThanks for the additional info, Philip!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Document galleries only showing short codes.Hi iragless,
If Document Gallery is reporting you’re running 5.2.17 then that is the version of PHP actually running WordPress. It sounds like CPanel is mis-reporting the PHP runtime being used. You’ll want to contact your hosting provider to get that discrepancy resolved. It’s possible that there are two versions of PHP installed on your server, and one is detected by CPanel and the other is the one actually being used to run WordPress, but that’s just a wild guess.
Until you are running PHP 5.3 or greater, nothing in the modern Document Gallery will function. We stop loading the plugin right after performing the check that you are reading.
If you want to backtrack to a version of Document Gallery that did not require PHP 5.3 or greater then you’ll want to go to pre-4.0: https://github.com/thenadz/document-gallery/archive/3.5.4.zip.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesFantastic! What server errors are you still getting?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesAll,
Actually, before anyone does the above, can someone please test a theory for me? I managed to get my hands on a malfunctioning system with the same symptoms observed in this thread and was able to narrow the issue down to the IMagick thumbnail generation in that instance.
If you go to
Dashboard -> Settings -> Document Gallery, uncheck the IMagick checkbox near the bottom, then save, do the issues go away? I still don’t have a fix for it that doesn’t involve disabling IMagick conversions, but at least that is something for an interim resolution.-Dan
Forum: Plugins
In reply to: [Document Gallery] Connection IssuesAll,
If any of you (or even better all of you) could open a ticket with HostGator that would really help move the process along. I’m getting stonewalled since I don’t have an account with them.
If you point them to this thread they should be able to collect the information they need. I just got this comment from a chat with them, which is likely what you’ll want to ask them to do:
We will check to see if the plugin is hitting any of our configuration restrictions and report that information back to our customers. If one of our customers is causing you stress about the plugin and hasn’t gone through this process with us, I would recommend sending them our way to see if we can figure out what’s being prevented and what needs to be allowed to function.
If any of you get in contact with HG, if you could let me know any information collected that would be useful.
-Dan
I’m happy to take a look at the admin side of things if you want to send me credentials. You can send me an email here: http://danrossiter.org/contact.
-Dan
Forum: Plugins
In reply to: [Document Gallery] last modifiedHi Ceyon,
I apologize for letting this question go unresolved for so long.
Can you elaborate on what exactly you envision “last modified” representing? Are you talking about the actual file or about the metadata that WordPress stores about the file (caption, description, etc)?
In either case, there is not currently support for this functionality, but it is something that can be considered for a future enhancement.
-Dan
Hi Javied,
Without knowing what the theme is, it’s difficult for us to be able to help with your problem. I would actually recommend bouncing this issue over to the theme developer as my gut says that’s a more likely place for the actual issue to lie.
We are registering a plugin in the visual editor to allow embedding Document Gallery previews, but my guess is your theme is assuming there are no other plugins in the editor and then doing things based on that assumption that result in the editor breaking.
-Dan