プロジェクト

全般

プロフィール

Vote #77214

完了

Show image attachments and repo entries instead of downloading them

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Attachments_19
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
19
version_id:
110
issue_org_id:
22058
author_id:
347
assigned_to_id:
1
comments:
8
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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!


journals

--------------------------------------------------------------------------------
Here's a patch series that adds this feature:

!image_preview_in_redmine.jpg!
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Rebasing patch onto current trunk.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

Admin Redmine さんが3年以上前に更新

  • カテゴリAttachments_19 にセット
  • 対象バージョン3.3.0_110 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0