Defect #34896
openPDF thumbnails are not displayed even though "ImageMagick PDF support available (optional)" is checked
0%
Description
This is a issue related to #34397.
Due to recent changes in ImageMagick, PDF cannot be converted to PNG without rewriting the policy.xml file.
https://stackoverflow.com/questions/52861946/imagemagick-not-authorized-to-convert-pdf-to-an-image
I think you should check if ImageMagick has permission to convert PDF to PNG and then check "ImageMagick PDF support available (optional)" in Infomation.
Files
Updated by Plastik Schnitzer over 3 years ago
I experience this issue in Redmine version 4.2.0 in the docker version. All PDF thumbnail images are broken, but not image preview thumbnails.
Environment: Redmine version 4.2.0.stable Ruby version 2.7.3-p183 (2021-04-05) [x86_64-linux] Rails version 5.2.5 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp
Updated by Mizuki ISHIKAWA over 3 years ago
Plastik Schnitzer wrote:
I experience this issue in Redmine version 4.2.0 in the docker version. All PDF thumbnail images are broken, but not image preview thumbnails.
The problem that PDF thumbnail images are broken should be improved by rewriting policy.xml.
I think https://stackoverflow.com/questions/52861946/imagemagick-not-authorized-to-convert-pdf-to-an-image answer will be helpful.
Updated by Scott Macpherson over 3 years ago
Mizuki ISHIKAWA wrote:
The problem that PDF thumbnail images are broken should be improved by rewriting policy.xml.
This does indeed resolve the issue, but I believe the intention of this defect report was to point out the discrepancy between admin/info
and what is actually available. It would be really nice if Redmine could alert administrators that PDF support is generally available, but PDF previews are not available.
Updated by Mizuki ISHIKAWA over 3 years ago
Scott Macpherson wrote:
Mizuki ISHIKAWA wrote:
The problem that PDF thumbnail images are broken should be improved by rewriting policy.xml.
This does indeed resolve the issue, but I believe the intention of this defect report was to point out the discrepancy between
admin/info
and what is actually available. It would be really nice if Redmine could alert administrators that PDF support is generally available, but PDF previews are not available.
You are right.