プロジェクト

全般

プロフィール

Vote #75251

完了

Inline images in email does not appear when thumbnail macro is used.

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
9
version_id:
84
issue_org_id:
16989
author_id:
102666
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Redmine v2.5.1

When using

{{thumbnail(filename.png)}}
in a comment, the email sent to notify related users does not show the image. The source starts with /attachments.
This is because relative url is used in thumbnail macro when processing the text.

To fix this, we should use the url_for argument :only_path => false, so that the generated urls are absolute.

The fix is in the patch and we are using it confidently in our system.


journals

Confirmed the problem with Redmine 2.5.1 and this patch addresses the problem.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Related to #2770.

The patch attached on this issue cannot display images on non-public projects.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r13218, urls now include host name.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------


related_issues

relates,Reopened,2770,Display of inline attached images in email notification

Admin Redmine さんが3年以上前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョン2.5.2_84 にセット

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

いいね!0
いいね!0