Skip to content

トピックに画像を表示できるように#8

Draft
ViVi-shark wants to merge 1 commit intoyutorize:developfrom
ViVi-shark:feature/display_image_in_topic
Draft

トピックに画像を表示できるように#8
ViVi-shark wants to merge 1 commit intoyutorize:developfrom
ViVi-shark:feature/display_image_in_topic

Conversation

@ViVi-shark
Copy link
Contributor

機能

トピック欄に画像を表示できるようにする。

想定している用途

長時間にわたって参照しつづけるような画像を提示する。
(例:ダンジョンマップ、戦場マップなど)

仕様

画像の URL (ゆとチャのメッセージ文法においてハイパーリンク化される URL )がトピックに含まれていれば、それをその URL を参照する画像に置換する。
画像であるかどうかは、「 URL の末尾の拡張子がそれらしいかどうか」で判断する。サポートしているのは、 PNG, GIF, WebP, JPEG, JPG, SVG 。

置換された画像をクリックすると、拡大表示する。

動作イメージ

display_image_in_topic

@ViVi-shark ViVi-shark force-pushed the feature/display_image_in_topic branch from 8b342b8 to 15c20dc Compare October 4, 2022 08:45
@ViVi-shark ViVi-shark changed the base branch from master to develop October 5, 2022 02:11
@ViVi-shark ViVi-shark marked this pull request as draft October 10, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant