プロジェクト

全般

プロフィール

Vote #81312

未完了

PDF thumbnails are not displayed even though "ImageMagick PDF support available (optional)" is checked

Admin Redmine さんが約4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Administration_8
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
8
version_id:
0
issue_org_id:
34896
author_id:
259873
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ4年前に更新

  • カテゴリAdministration_8 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0