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.
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
- Description updated (diff)
Here's a patch series that adds this feature:
- File deleted (
0003-Add-inline-image-preview-display-for-attachments-and.patch)
Rebasing patch onto current trunk.
- Target version changed from Candidate for next minor release to 3.3.0
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Is any reason to use download_named_attachment_url in app/views/attachments/image.html.erb instead download_named_attachment_path?
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
Also available in: Atom
PDF