Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Custom link for galleryHi Krzysztof,
If you don’t generally write PHP in your site development, then the best solution is probably the Code Snippets plugin. I’ve actually never used it, but it has good reviews and will allow you to insert arbitrary PHP like the above.
Be sure to update the “NEW URL HERE” text before posting.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Thumbnails not being auto-generated anymoreSounds good. Let me know if you run into any other questions!
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?Hi dainwatya,
Yes, Bjarne and I spent some more time looking at issues he was seeing and thanks to his help we’ve identified a general issue that is causing this in 4.6 installs. There will be a new version pushed out today with this fix π
-Dan
Forum: Plugins
In reply to: [Document Gallery] Thumbnails not being auto-generated anymoreHi pmbs,
Yes, in order to get thumbnails from PDFs, you would need at least one of the above-mentioned methods enabled — Ghostscript, ImageMagick, or a Thumber.co subscription. You wouldn’t get an error since DG is doing what is expected based on the thumbnail generation methods enabled.
Regarding it having worked previously, I haven’t the foggiest how it could have worked π Nothing has changed in that regard other than additional methods of generation being added since the beginning of DG. The only thing I can think of is that your host changed something and while they previously had GS or IM available, they no longer have them available?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Custom link for galleryHi Krzysztof,
You’re not the first one to ask for this functionality and it’s near the top of the list of things to do, but as of now it is not yet supported.
This functionality could be achieved with a bit of custom code using the built-in DG filters like so:
function dg_icon_template($icon, $use_descriptions, $id) { return str_replace('%link%', 'NEW URL HERE', $icon); } add_filter( 'dg_icon_template', 'dg_icon_template', 10, 3 );Forum: Plugins
In reply to: [Document Gallery] Thumbnails manager doesn't see my documentsHi nicovideo,
If you view the post/page first, then go back to the visual editor do the icons now display?
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?reason8,
On the off chance you’re still subscribed to this thread, I’d love to know whether this is still causing problems for you with the latest DG version.
I’ve been working with Bjarne and we’ve narrowed the issue down to an incompatibility with a plugin used on his site that changes the backend visual editor. Assuming this is not an issue for your setup, I’d like to know if there is another issue floating around we should be aware of.
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?Hi Bjarne,
Interesting indeed. Yes, if you could provide a test site that would be very useful.
You can send me credentials privately through my website if you’d like.
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?Interesting. And you are confirming that this is with the 4.2.4 update? Those are definitely the same symptoms as an issue addressed in 4.2.4, but maybe it’s a different cause.
What browser are you in? If you hit F12 (this should open the browser debug dialog), then reload the page, are any errors logged in the console?
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?reason8 (and Bjarne),
Is this still the case in DG version 4.2.4 (released this week)? An issue was addressed with these exact symptoms.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Some PDFs download, while most open in browserHi jokerpl,
It is possible, however DG does not currently support such a configuration. Forcing a download rather than a navigate could be achieved by using the anchor
downloadattribute, however this is not scheduled to be implemented in the short term.-Dan
Forum: Plugins
In reply to: [Document Gallery] Icon Arrangement and Shortcode IssuesHuh. When you say you get a progress bar, are you referencing the visual editor or the actual page? The former might have a progress bar, but the latter definitely shouldn’t and still suggests some other plugin doing something.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Icon Arrangement and Shortcode IssuesHi mcracco,
I’m sorry for the delayed response. My paying job has been hectic lately!
Glad you got the first half of your question resolved π For the second part, when you say it “spins,” what does that mean? Nothing in DG “spins” so I’m wondering if some other plugin is doing something it shouldn’t? If you can point me to a gallery where the issue is present I can give a better answer.
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?Hi Bjarne,
Just wanted to follow up. Work has me swamped so I didn’t get to testing DG this past weekend, but I will have it tested before the scheduled WP release on the 16th.
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.6 compatible?Hi Bjarne,
Thanks for the reminder. It has not. I’ll plan to try and get that done this weekend.
Looking at the high level changes listed out, there are a few things that may end up being relevant to DG.
I’ll update this post once the tests have been done.
-Dan