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 almost 9 years ago. Updated over 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 almost 9 years ago

  • Description updated (diff)
Actions #2

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

Here's a patch series that adds this feature:

Actions #3

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

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

Updated by Go MAEDA over 8 years ago

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

Updated by Jean-Philippe Lang over 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 over 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 over 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