Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support webp images

オープン
#451 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

source/js/media/types/VCO.Media.Image.js と、source/js/media/VCO.MediaType.js にあるメディアタイプの識別処理から始めてください。画像のアップロードとカスタムマップマーカーがどのように処理されているかを確認してください。マップとコンテンツで WebP 画像をアップロードして表示できれば完了とし、issue で要求されている picture-element フォールバックは引き続き対象外とします。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Via Zendesk, we received this request:

could you please add a possibility to allow displaying WebP-Images for maps and content?
Ideally this is done via a wrapping -tag to enable downwards compatibility for browsers, who don’t support WebP yet.

It's reasonable to add support for uploading webp images and supporting them in the image mediatype (see also the media type identification process) and, perhaps, in custom map markers.

However, it is unlikely that StoryMapJS will support the <picture> element, as that would then involve also supporting upload of (or automated creation of) alternative sources. Supporting user upload of (or specification via URL of) multiple sources would add far too much complexity to the user experience, and the is no evidence of a community of users who would take advantage of multiple image support outside of the hosted experience.

主要言語
JavaScript
スター
248
フォーク
61
平均マージ
1分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NUKnightLab/StoryMapJS のほかの issue

NUKnightLab/StoryMapJS の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。