Feature #22058
closed
Show image attachments and repo entries instead of downloading them
Added by Jan from Planio www.plan.io over 8 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.
![](https://www.redmine.org/attachments/download/15440/Patch%20%2321847_%20Let%20mobile%20header%20be%20fixed%20-%20Redmine%202016-02-17%2016-39-27.png)
Files
- Description updated (diff)
Here's a patch series that adds this feature:
![](/attachments/download/15444/image_preview_in_redmine.jpg)
- 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