Project

General

Profile

Actions

Feature #22058

closed

Show image attachments and repo entries instead of downloading them

Added by Jan from Planio www.plan.io about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

For text file attachments and text files in a repository, we have a nice inline display in Redmine that even shows line numbers.

Images however are always just downloaded. It would be nice if they were displayed as well.


Files

Actions #1

Updated by Jan from Planio www.plan.io about 8 years ago

  • Description updated (diff)
Actions #2

Updated by Jan from Planio www.plan.io about 8 years ago

Here's a patch series that adds this feature:

Actions #3

Updated by Jan from Planio www.plan.io almost 8 years ago

  • File deleted (0003-Add-inline-image-preview-display-for-attachments-and.patch)
Actions #5

Updated by Go MAEDA almost 8 years ago

  • Target version changed from Candidate for next minor release to 3.3.0
Actions #6

Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed
Actions #7

Updated by Krzysztof Zielonka about 7 years ago

Is any reason to use download_named_attachment_url in app/views/attachments/image.html.erb instead download_named_attachment_path?

Actions #8

Updated by Toshi MARUYAMA almost 7 years ago

Krzysztof Zielonka wrote:

Is any reason to use download_named_attachment_url in app/views/attachments/image.html.erb instead download_named_attachment_path?

FTR: #25295

Actions

Also available in: Atom PDF