stianlik
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Thumbnails] CMYK PDF results in incorrect color conversionThank you for looking into it. I’m marking this as resolved for now, but it would be great if you follow up with your results.
This is the system I used for testing:
Operating system
lsb_release -a
: Debian 7.8 (wheezy)ImageMagick
phpinfo()
: ImageMagick 6.7.7-10 2014-03-08 Q16Ghostscript
gs --version
: 9.05PHP
php -v
: 5.4.39Forum: Plugins
In reply to: [PDF Thumbnails] CMYK PDF results in incorrect color conversionThank you for the files. I was not able to see a significant change, but I did notice that one of the generated images was somewhat brighter than the original.
I do not have much knowledge about color profiles and such, but I found a post that may be relevant: images and browser. The author suggests that the color space should be converted to from CMYK to RGB using an ICC profile from Adobe. I tested with RBG color profiles from Adobe, but the colors did not improve. This may be a long shot, but do you have an ICC profile that works well for the PDFs?
Forum: Plugins
In reply to: [PDF Thumbnails] CMYK PDF results in incorrect color conversionThanks. I will look into it, do you have an example PDF that I can use for testing?
Forum: Plugins
In reply to: [PDF Thumbnails] Need to rebuild thumbnail when i edit de pdf attachment postI am not able to reproduce the issue, tested the following:
- Upload PDF attachment
- Verified that PDF thumbnail exists and is attached to PDF: OK
- Modified title and description on PDF attachment
- Verified that PDF thumbnail still exists and is attached to PDF: OK
- Modified title and description on generated PDF thumbnail
- Verified that PDF thumbnail still exists and is attached to PDF: OK
Can you post the steps you take to reproduce the issue?
What happens if you try this on a clean WordPress-installation without any other plugins?
Forum: Plugins
In reply to: [PDF Thumbnails] Thumbnail is created, but not added to PDF fileQuick status update: I have code to make this work, but it needs more testing before a release.
I’m hoping to include a “Regenerate thumbnails”-button in the next release to make it easier to start using the plugin on existing installations. Currently, the regeneration cam make WPML Media useless by generating image thumbnails for all translations (i.e. one thumbnail per language per PDF). Need to investigate this before I go any further.
Forum: Plugins
In reply to: [PDF Thumbnails] Thumbnail is created, but not added to PDF fileOk, then I don’t think they will do anything about the issue. A bit disappointing to see that developers behind a commercial plugin neglect support like this. Maybe Polylang is a better alternative ??
It would be great to get this issue resolved though. If you send me the WPML-plugins, I can see if there is a good solution that can be implemented from this my side.
Forum: Plugins
In reply to: [PDF Thumbnails] Thumbnail is created, but not added to PDF fileDid the WPML team implement a fix?
Forum: Plugins
In reply to: [PDF Thumbnails] Delete thumbnails when deleting the PDF fileImplemented in version 1.0.0.
Forum: Plugins
In reply to: [PDF Thumbnails] Thumbnail is created, but not added to PDF fileI received an e-mail from another person in the WPML team, asking me to register for some GoGlobal program, again (seems like the issue has been reset and given to another support person). As I’m not interested in joining this program, I declined, let them know that I am happy to help if they have any questions or non-intrusive change requests, and referred her to the original support person and this thread.
I am fairly sure that they can fix the issue quickly, if they let the developers work in this, instead of trying to push the GoGlobal program.
Forum: Plugins
In reply to: [PDF Thumbnails] Thumbnail is created, but not added to PDF fileNo problem ?? I haven’t heard anything since 31. December, last message received was the following:
Thanks for your message. I see your point. I will share the information with the technical team. Thery will contact you if they need further help.
I’m not sure if they have looked at the issue yet, it may be a good idea to contact them to check the status.
Forum: Plugins
In reply to: [PDF Thumbnails] Delete thumbnails when deleting the PDF fileThank you for the suggestion, sounds like a good idea. I will take a look when I have some spare time.
Forum: Plugins
In reply to: [PDF Thumbnails] Assign thumbnail as Feature ImageHi,
No problem, and sorry for my late reply.
I placed the code snippet at the first line of
functions.php
and tested as follows:- Login to admin
- Edit post and upload PDF
- At this point, nothing has happened and I do not save the post
- Refresh page
- I can see that featured image is set
If you can see the generated image of your PDF, ImageMagick is working (that’s how the image was generated) ??
It looks like your
functions.php
file calls a deprecated function. I’m not sure if that is the root cause, but you should address the issue and follow the
recommendation of using wp_image_editor_supports instead.Setting the featured image is simply saving metadata in the database so ImageMagick should not be an issue. To verify that the code has been executed, you can replace
set_post_thumbnail($post_id, $object_id);
with
set_post_thumbnail($post_id, $object_id); error_log('Featured image attached');
It’s a bit late, but Happy New Year!
Forum: Plugins
In reply to: [PDF Thumbnails] Nothing but error messagesI have never tested the plugin with an older installation than WP 4.0, so I’m not sure if there are any issues with older versions. I may be able to help you troubleshoot if you give me some more information to go on, i.e. what do the message say? Is your WordPress-installation placed on a Windows server?
In general, I recommend you to upgrade WordPress before installing new plugins.
Forum: Plugins
In reply to: [PDF Thumbnails] Thumbnail is created, but not added to PDF fileI was contact by the compability team a few days ago, think they are working on the issue now.
Forum: Plugins
In reply to: [PDF Thumbnails] where and how to put in that magic snippet?No problem. Haven’t heard anything in a week, so I’m marking this as resolved.