操作
QA #1140
未完了RedmineのMarkdownで画像サイズを変更したい
ステータス:
新規
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
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="***サイズ***">
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">
操作