Dan Rossiter
Forum Replies Created
-
Hi CCES,
You insert Document Galleries the same way you would insert a regular WordPress gallery, by going to the post/page where you want to include the gallery, clicking “Insert Media” button, and clicking “Create Document Gallery” in the left sidebar.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Interesting. That’s definitely a bug then.
That helps a lot knowing what’s going wrong. I’ll look into this after work and get back to you with a resolution ASAP.
Thanks for your patience!
-Dan
I just took a look and I see what is going wrong, but not immediately sure how it’s happening. Are you possibly using any PHP filters to modify the output? The reason I ask is that the gallery ID is being duplicated for each member of the gallery, which is resulting in the JavaScript being unable to identify the items that need to be retrieved from the server.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Open document before downloading; Pages thumbnailsHey,
Glad you’re getting good use out of the plugin! The attribute you’re looking for is
attachment_pg=true. This will link to the WP page where the attachment is rather than the actual file. When the link points to the actual file, how that link is treated is completely dependent on the browser, but most will do exactly what you describe and simply start downloading since the browser doesn’t know what else to do with the file.Please let me know if that doesn’t address your question of if anything else comes up! π
-Dan
Forum: Plugins
In reply to: [Document Gallery] Compatible with categories from Media Library Assistant?And following up on above, the patched version
3.5.3is now available.-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
So, I’m facepalming for not asking this sooner, but what browser are you using? In 3.5 we moved icon generation to be performed asynchronously after the page is loaded. I’m now thinking that your browser may be incompatible w/ the AJAX requests we’re sending back to the server.
If you can point me at a gallery on a some page on your site I can test this theory.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Compatible with categories from Media Library Assistant?Hi kalico,
There does appear to be a regression where the
imagesattribute is not being correctly handled. A good workaround is to simply set yourmime_typesattribute instead. If you go toDashboard -> Settings -> Document Galleryand append “,image” to whatever is already there, that should work. If you do not want to make the change globally, you can also make the same change at the shortcode level (eg:[dg descriptions=true category="New York Times" mime_types=application,video,text,audio,image]).All of that said, I’m planning to get a patch release out this evening to address the bug. Thanks for bringing it to our attention!
-Dan
Thanks for the additional information. I’m thoroughly stumped, so I’m going to throw together that debug version for you to test that should give us some additional info. I’ll follow up once I have something ready to test.
Thanks for your patience while we try to figure this out!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Removing the icon and only having the TitleAnd touching on your other point, allowing sizing of icons from within the shortcode is not a bad idea at all, but it would probably need to wait until we address some more core issues with how icons are currently cached. Our current data structure limits us to a single image storage size, which limits the usefulness of CSS scaling. With the ability to store multiple icon sizes things get more flexible.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Removing the icon and only having the TitleHi Jim,
So sorry. It does indeed say “titles”. It’s been a long year… Sigh.
To remove the icon entirely, you could simply do something like this:
.document-icon img { display: none }. To make the inline {icon}{title} layout you described is unfortunately not so straight-forward due to thebrtag after the icon and before the title. This is something we’ve discussed cleaning up at some point to make styling easier, but that just hasn’t happened yet.In the interim, if you want that layout, you can always use the PHP filters exposed by DG (documented in the Installation tab under the Developers section). Obviously not nearly as easy, but it will work. You’d just need to remove the
br, then the rest would just be floating the img left and that should achieve what you’re looking for.-Dan
Forum: Plugins
In reply to: [Document Gallery] PaginationJust an update — this functionality is slated for inclusion in the next release.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Removing the icon and only having the TitleHi Jim,
What do you mean by “tiles”?
-Dan
Ok. The next step is to check whether one of your other plugins/theme is not playing nicely with DG. If you don’t mind, can you please try the following:
1. Disable all plugins except for DG & switch to a default theme provided by WP
2. Check whether the same issue is present. If it is not, then one of the plugins/theme you disabled is doing something it shouldn’t so continue to step 3.
3. Re-enable your plugins one-by-one and go back to your theme. Each time you enable something, recheck #2. The first time it fails, the last thing enabled is your culprit.If the above test still does not uncover something, the next thing I can do is put together a debug version of DG with additional logging to identify what is breaking.
Thanks for your patience while we figure this out!
-DanInteresting. So what is being logged?
-Dan
If you go to the Thumbnail Management tab, delete all of your thumbnails, then view a gallery, what is everything that is logged during the generation?
I see that you have GS and IMagick so GS should be doing the generation unless it’s failing to process the PDFs. If it fails, then I’m not surprised that IMagick is also failing. Now why it would fail, I’m not sure…
-Dan