プロジェクト

全般

プロフィール

QA #1140

未完了

RedmineのMarkdownで画像サイズを変更したい

奈良 裕記 さんがほぼ4年前に追加. 1年以上前に更新.

ステータス:
新規
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2020/06/02
期日:
進捗率:

0%

予定工数:

説明

[お知らせ] 11/5午後、redmine.tokyo第23回勉強会開催(無料、受付中、品川+Zoom+YouTubeLive) https://redmine-tokyo.connpass.com/event/261924/

■現象/要望

RedmineのMarkdownで画像サイズを変更したい
Textileでは可能

■解決策

下記2方法あり

1. img srcで対応(Githubと同様に)

https://qiita.com/shti_f/items/b819d7fd8cb79ae29687

<img src="***画像のURL***" width="***サイズ***">

2.Redmineのソース修正
https://sayahamitt.net/redmine%E3%81%AEmarkdown%E3%81%A7%E7%94%BB%E5%83%8F%E3%82%B5%E3%82%A4%E3%82%BA%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB/

redmine/lib/redmine/wiki_formatting/markdown/formatter.rb
image メソッド変更し、texttileと同様にサイズ指定可能にする。

■対応状況

imgタグ利用、またはソース修正で対応

■補足

サンプル
http://demo1.unofficial-redmine.org/redmine/issues/61290#note-17

![しまなみ海道にて](GEDC0254.JPG)
<img src="http://demo1.unofficial-redmine.org/redmine/attachments/download/12/GEDC0254.JPG"  width="300">
<img src="http://demo1.unofficial-redmine.org/redmine/attachments/download/12/GEDC0254.JPG"  width="200">
<img src="http://demo1.unofficial-redmine.org/redmine/attachments/download/12/GEDC0254.JPG"  width="100">

奈良 裕記 さんがほぼ4年前に更新

奈良 裕記 さんがほぼ4年前に更新

奈良 裕記 さんがほぼ4年前に更新

奈良 裕記 さんがほぼ3年前に更新

奈良 裕記 さんが2年以上前に更新

奈良 裕記 さんが1年以上前に更新

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