How to Add Fast Images with Captions in Blogger

Add fast, responsive images with captions to Blogger posts. Correct sizes, lazy loading and WebP for better Core Web Vitals.

  • Images make a post easier to follow, but they are also the heaviest part of most pages. This guide shows the three caption styles in the theme and how to add images that load fast, so your post keeps a good Core Web Vitals score.

    Sample image showing a landscape illustration
    This is the main image of the post. It loads first. Click it to zoom.

    Paste every example on this page in the post editor's HTML view, not in Compose view. The easiest way to get the code is the Image Code Generator.

    The three caption styles

    1. Under the image

    This is the default. A short gray line under the image. Images you add with Blogger's own Add caption option get this style too.

    Sample landscape illustration
    A short caption under the image.
    <figure>
      <img ...>
      <figcaption>Your caption.</figcaption>
    </figure>

    2. On the image

    Add over to place the caption on a dark fade at the bottom of the image. It works best on photos.

    Sample landscape illustration
    The caption sits on a dark fade at the bottom.
    <figure class="over">...</figure>

    3. Card

    Add card to put the image and its caption in one frame, with a small image icon before the text.

    Sample landscape illustration
    Image and caption in one frame.
    <figure class="card">...</figure>

    Click to zoom

    Add zoom to any style. A small icon appears in the corner, and a click opens the image full size. Press Esc or click again to close it.

    <figure class="card zoom">...</figure>

    Fast images and Core Web Vitals

    Google measures how fast your post shows its main content (LCP) and whether the page jumps while it loads (CLS). Images affect both. The code from the generator handles each point for you:

    Part of the codeWhat it does
    srcset + sizesLists four sizes of the same image. A phone downloads the small one, a big screen the large one.
    width + heightKeeps the image's space ready before it arrives, so the text doesn't jump.
    fetchpriority="high"Only on the main image. The browser downloads it first, which improves LCP.
    loading="lazy"On every other image. It loads only when the reader scrolls near it.
    altDescribes the image for Google Images and for readers who use screen readers.

    Mark only one image as the main image, and only if it's near the top of the post. Never make the first image lazy: that slows down LCP.

    Writing good alt text

    • Describe what the image shows, in one short sentence.
    • Keep it under 125 characters.
    • Don't start with "Image of" or "Picture of".
    • If the image is only decoration, leave the alt text empty: alt="".

    Images you already published

    You don't need to change old posts. Images added with Blogger's editor get the new rounded look, stay inside the post width, and captions made with Add caption use the "under" style. To make an old image faster, create new code for it with the generator and replace it.

    Quick reference

    You wantWrite
    Caption under the image<figure>
    Caption on the image<figure class="over">
    Card<figure class="card">
    Click to zoomadd zoom
    Main imagefetchpriority="high", no loading
    Other imagesloading="lazy"