Check 17.02 · Videos, PDFs and multimedia

Create relevant thumbnails

Create accurate, legible video thumbnails, meet Google and YouTube requirements, then declare them through poster, JSON-LD, the sitemap and Open Graph.

Priority
Complementary
Difficulty
Easy
Estimated time
30 min to 1 h per video
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

The thumbnail is the still image that represents a video in search results, on YouTube, in social media shares and in the player before playback starts. Once the task is done, each video has its own thumbnail, true to its content and legible at small sizes, served from a stable URL that crawlers can fetch, and declared identically in the HTML, the structured data and the video sitemap.

Why it matters

Without a valid thumbnail, Google does not index the video. Its documentation sets precise requirements:

  • supported formats: BMP, GIF, JPEG, PNG, WebP, SVG and AVIF;
  • a minimum size of 60 × 30 pixels, with a larger size preferred;
  • at least 80% of the pixels must have an alpha (opacity) value greater than 250, which rules out largely transparent thumbnails;
  • Googlebot and Googlebot-Image must be able to fetch the file: no blocking in robots.txt, no login required;
  • one unique, stable URL per video; CDN URLs that expire quickly can prevent indexing.

Google reads the thumbnail from the poster attribute of the <video> tag, from <video:thumbnail_loc> in the sitemap, from thumbnailUrl in the structured data or from og:video:image. If you declare it in several places, use the same URL everywhere. If Google can fetch the video file, it can also generate a thumbnail itself, but you then lose control over the image.

Search Console's video page indexing report also lists several rejection reasons related to thumbnails: no URL provided, unsupported format, invalid size, transparent thumbnail, blocked by robots.txt or unreachable.

Beyond indexing, the thumbnail is the most visible element of a video result. A blurry, generic or misleading image costs clicks, or disappoints the people it attracts.

What it improves

  • Video indexing A valid, reachable thumbnail is a condition for Google to index the video.
  • Click-through rate A sharp image that shows the subject attracts more clicks in video results and on YouTube. The effect varies by subject and can only be measured by testing.
  • Social shares The same image, declared as og:image, illustrates shared links.
  • On-page experience The poster attribute avoids a black rectangle before playback.
  • Rankings No known direct effect. The thumbnail affects eligibility and clicks.

How to check

1. Find the declared thumbnail on a video page:

curl -s https://example.com/videos/detartrer-chauffe-eau/ \
  | grep -o -E 'poster="[^"]*"|"thumbnailUrl": ?[^,]*|og:(video:)?image" content="[^"]*"'

The URLs found must be identical.

2. Test the thumbnail URL:

curl -s -o /dev/null -w "%{http_code} %{content_type}\n" -A "Googlebot-Image/1.0" https://example.com/media/miniatures/detartrage-200l.jpg

Expected result: 200 image/jpeg (or image/webp, image/png, image/avif).

3. Check its dimensions with ffprobe, which ships with FFmpeg:

ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 detartrage-200l.jpg

4. Look at Search Console. The video page indexing report lists the reasons for non-indexing, including those related to thumbnails. The Rich Results Test flags a missing thumbnailUrl.

5. View it small. Shrink the image to 320 pixels wide: the subject must remain identifiable and any text legible.

How to implement

Before you start

Requirements by destination:

Destination Format Size Notable constraint
Google (your site) BMP, GIF, JPEG, PNG, WebP, SVG, AVIF 60 × 30 px minimum, larger preferred 80% of pixels nearly opaque, stable and reachable URL
YouTube, regular video JPG or PNG, for example 3,840 × 2,160 px recommended, 640 px wide minimum, 16:9 ratio 50 MB maximum from a computer, verified account required
YouTube, Shorts JPG or PNG, for example 2,160 × 3,840 px recommended, 640 px high minimum, 9:16 ratio Same conditions

YouTube's recommendations change: check them in YouTube Help before producing a series. For your site, a 16:9 image of at least 1,280 × 720 pixels, in JPEG or WebP, covers the common uses: this is a convention, not a Google requirement.

Step 1 — Choose the image

  1. Accurate: it shows what the video really shows, ideally a frame taken from the video. On YouTube, a misleading thumbnail may fall under the rules against deceptive titles and thumbnails.
  2. Legible at small sizes: a single subject, tight framing, an uncluttered background, strong contrast.
  3. Short or no text: three to five words at most, large enough for a phone thumbnail. The title is already displayed next to it.
  4. Unique: one thumbnail per video, different from one episode of a series to the next.
  5. Opaque: no PNG with a transparent background.

To extract a sharp frame from the video with FFmpeg, choose the moment (here, 42 seconds):

ffmpeg -ss 00:00:42 -i detartrage-200l.mp4 -frames:v 1 -q:v 2 detartrage-200l.jpg

Then adjust the framing and add any text in your graphics tool.

Step 2 — Name and host the file

Step 3 — Declare the same thumbnail everywhere

On an HTML page with a video hosted on your site:

<video controls preload="metadata" width="1280" height="720"
       poster="https://example.com/media/miniatures/detartrage-200l.jpg">
  <source src="https://example.com/media/videos/detartrage-200l.mp4" type="video/mp4">
</video>

In the <head> tags, for shares:

<meta property="og:image" content="https://example.com/media/miniatures/detartrage-200l.jpg">
<meta property="og:image:width" content="1280">
<meta property="og:image:height" content="720">

In the VideoObject JSON-LD, "thumbnailUrl": "https://example.com/media/miniatures/detartrage-200l.jpg" (see implement VideoObject (opens in a new tab)), and in the video sitemap, <video:thumbnail_loc> with the same URL (see create a video sitemap (opens in a new tab)).

With preload="metadata" or preload="none", the poster attribute is what visitors see before playback: do not leave it out.

WordPress

Versions WordPress 6.5 to 7.1; Yoast Video SEO (paid Yoast plans) and Rank Math, November 2026 versions.

  • Video block: in the block settings sidebar, under “Poster image”, choose the image from the Media Library. WordPress writes it into the poster attribute.
  • YouTube or Vimeo embed block: the thumbnail comes from the platform; change it there.
  • Yoast Video SEO lets you choose a custom thumbnail and preview it; Rank Math reuses the thumbnail in the Video schema it generates. Check that the URL used is the same as the poster one.
  • Security or image optimization plugins that rewrite URLs (image CDN, hotlink protection) can make the thumbnail unreachable for crawlers: test the final URL with curl.

Shopify

Versions Online Store 2.0 themes, all Shopify plans, November 2026.

For a video added to a product's media, Shopify provides a preview image, exposed to the theme through the preview_image property of the Liquid video and external_video objects. To display it as the poster:

{%- if media.media_type == 'video' -%}
  {{ media | video_tag: image_size: '1280x', controls: true }}
{%- endif -%}

The video_tag filter generates the <video> tag with a frame from the video as the poster; image_size sets its size. Do not lazy-load it (loading: 'lazy') if it sits at the top of the page. For a YouTube or Vimeo video, the thumbnail is set on the platform.

YouTube

In YouTube Studio, open the Content menu, open the video, then, in the Details tab, under Thumbnail, upload your file. Uploading a custom thumbnail requires a verified account. If the thumbnail Test & Compare feature is available on your channel, test two or three variants rather than guessing.

Vimeo

In the video's settings, choose a frame from the video or upload your own image. If the video is embedded on your site, also declare the thumbnail in your own structured data and video sitemap, with a stable URL.

Laravel

Versions Laravel 11 to 13 (Process facade), FFmpeg 6 and later.

Generate the thumbnail when the video is imported, store its public URL in the database and reuse it in the view, the JSON-LD and the sitemap. Example of a scheduled task that calls FFmpeg:

use Illuminate\Support\Facades\Process;

$result = Process::run([
    'ffmpeg', '-ss', '00:00:05', '-i', $videoPath,
    '-frames:v', '1', '-q:v', '2', $thumbnailPath,
]);

if ($result->failed()) {
    throw new RuntimeException("Thumbnail not generated for {$videoPath}.");
}

If the files are on S3, do not use a presigned URL (temporaryUrl()) for the thumbnail: it expires. Serve it from a stable public path.

Next.js

Versions Next.js 15 and 16 (App Router).

Declare the thumbnail in generateMetadata for Open Graph, and in the video component's poster:

export async function generateMetadata({ params }: { params: Promise<{ slug: string }> }): Promise<Metadata> {
  const { slug } = await params;
  const video = await getVideo(slug);

  return {
    title: video.title,
    description: video.summary,
    openGraph: {
      images: [{ url: video.thumbnailUrl, width: 1280, height: 720 }],
    },
  };
}

Common mistakes

  • A thumbnail with a transparent background: rejected by Google if more than 20% of the pixels are transparent.
  • A URL that expires: an S3 presigned URL, a CDN token or a session parameter; indexing fails, or is lost later.
  • Three different URLs for the same thumbnail in the poster, the JSON-LD and the sitemap.
  • A blocked thumbnail, by robots.txt (Disallow: /media/) or by hotlink protection that rejects requests without a Referer header.
  • The same image for a whole series: the results become indistinguishable.
  • A clickbait image unrelated to the video: disappointing clicks and a risk of penalties on YouTube.
  • Illegible text on mobile, or a thumbnail cluttered with logos.

Frequently asked questions

What size should a video thumbnail be?

Google requires at least 60 × 30 pixels and prefers larger images, in a format such as JPEG, PNG, WebP or AVIF. YouTube currently recommends 3,840 × 2,160 pixels in 16:9, with a minimum width of 640 pixels. For a video hosted on your site, a 16:9 image of at least 1,280 × 720 pixels works for search results as well as for social media shares.

Can Google generate the thumbnail on its own?

Yes, if Google can fetch the video file itself, it can generate a thumbnail automatically. You then lose control over the image, and nothing guarantees that the frame it picks is representative. The video page indexing report also flags cases where no thumbnail was provided and Google could not create one. So always declare an explicit thumbnail.

Should I put text on the thumbnail?

It is not required. Short text, three to five words, can clarify the subject or the promised result, as long as it stays legible on a phone. The video title is already displayed next to the thumbnail: there is no need to repeat it. The image must first and foremost show the content accurately, without exaggeration that would disappoint the viewer.

Why doesn't my thumbnail appear in Google?

The most common causes are a URL that crawlers cannot reach, because of robots.txt, a login or hotlink protection, a URL that expires, an image that is too transparent or an unsupported format. Search Console's video page indexing report gives the exact reason. Also check that the same URL is declared in the poster, the JSON-LD and the sitemap.

Updated on

Topic checklist (PDF)

And now?

In the “Videos, PDFs and multimedia” topic

  1. Optimize video titles and descriptions
  2. Create relevant thumbnails
  3. Add subtitles and transcripts
  4. Add chapters
  5. Create a dedicated video page if strategic
  6. Implement VideoObject
  7. Create a video sitemap if needed
  8. Check access to videos and thumbnails
  9. Monitor video indexing
  10. Optimize related YouTube videos
  11. Optimize public PDFs
  12. Check that PDFs contain selectable text
  13. Fill in PDF titles and metadata
  14. Offer an HTML version of critical resources
  15. Provide a text alternative for charts