Vote #81312
未完了PDF thumbnails are not displayed even though "ImageMagick PDF support available (optional)" is checked
0%
説明
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.
!information.png!
journals
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.
<pre>
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
</pre>
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------