HTMLツール

画像読み込み属性ビルダー

loading、decoding、fetchpriorityを組み合わせて最適化されたimgタグを作成します。

ツールを読み込み中...

画像読み込み属性ビルダーとは

画像読み込み属性ビルダーは、loading、decoding、fetchpriorityを組み合わせて最適化されたimgタグを作成します。 出力は公開サイトに使う前に確認しやすい形で表示されます。

Quick answer

Use loading='lazy' for below-the-fold images to defer loading until the user scrolls near them. Use loading='eager' or omit the attribute for above-the-fold images that should load immediately.

Limitations

  • Lazy loading defers image requests but does not reduce total page weight -- images still download when scrolled into view.
  • The browser reserves placeholder space for lazy images even before they load, which can affect layout if width and height attributes are missing.
  • Using loading='lazy' on above-the-fold images can delay LCP and hurt user experience.

使い方

  1. 必要な値を入力します。
  2. 結果パネルの出力を確認します。
  3. ページに合う部分だけコピーします。
  4. 公開前にブラウザとホスティング環境で確認します。

主な用途

  • 公開前の繰り返し作業を短くする。
  • マークアップ、CSS、チェックリストを準備する。
  • 静的サイトで見落としやすい小さなミスを減らす。

よくあるミス

  • 出力を確認せず本番に入れる。
  • 公開URLではなくローカルURLを使う。
  • build後に公開フォルダ内のファイルを確認しない。

Verification

  1. Open Chrome DevTools Network panel and scroll the page to confirm lazy images only load when they enter the viewport.
  2. Check the Performance panel and verify that above-the-fold images with loading='eager' appear in the initial request waterfall.

FAQ

画像読み込み属性ビルダーのFAQ

画像読み込み属性ビルダーはブラウザ内で動きますか?

はい。現在のツールはブラウザで出力を生成する設計です。

出力のテストは必要ですか?

はい。テンプレート、ブラウザ、ホスティング設定に合わせて必ず確認してください。

関連ツール

その他のhtmlツール

こちらもお試しください

こちらもお試しください