Project

General

Profile

Actions

Defect #16989

closed

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

Defect #16989: Inline images in email does not appear when thumbnail macro is used.

Added by Bahri Yardim over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Email notifications
Target version:
Resolution:
Fixed
Affected version:

Description

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


Files


Related issues 1 (1 open — 0 closed)

Related to Redmine - Feature #2770: Display of inline attached images in email notificationReopenedActions

Updated by Go MAEDA over 12 years ago Actions #1

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

Updated by Toshi MARUYAMA over 12 years ago Actions #2

  • Target version set to 2.5.2

Updated by Go MAEDA over 12 years ago Actions #3

Related to #2770.

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

Updated by Toshi MARUYAMA over 12 years ago Actions #4

  • Tracker changed from Patch to Defect

Updated by Toshi MARUYAMA over 12 years ago Actions #5

  • Related to Feature #2770: Display of inline attached images in email notification added

Updated by Jean-Philippe Lang over 12 years ago Actions #6

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r13218, urls now include host name.

Updated by Jean-Philippe Lang over 12 years ago Actions #7

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: PDF Atom