# Missing image metadata for Search/Discover thumbnails

> Google uses both schema.org markup and the og:image tag as sources when determining image thumbnails in Google Search and Discover. To increase the...

Source: https://seocode.io/checks/image-preferred-source-metadata

[All checks](https://seocode.io/checks) / Images

Google uses both schema.org markup and the og:image tag as sources when determining image thumbnails in Google Search and Discover.

Info `image-preferred-source-metadata`

In SEOCode's checks since 9 May 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

Google uses both schema.org markup and the og:image tag as sources when determining image thumbnails in Google Search and Discover. To increase the likelihood of your preferred image being selected, specify it consistently using both og:image and schema.org image properties in your structured data.

Runs on `.html` `.jsx` `.tsx` `.vue` `.svelte` · Advisory checks point at an improvement. They never block a merge.

## How to resolve it.

Add og:image: `<meta property="og:image" content="https://yourdomain.com/preferred-image.jpg" />` and include the same image URL in your JSON-LD:

```
{
  "@type": "Article",
  "image": "https://yourdomain.com/preferred-image.jpg"
}
```

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Google Imagesdevelopers.google.com](https://developers.google.com/search/docs/appearance/google-images)

- [02 · Articledevelopers.google.com](https://developers.google.com/search/docs/appearance/structured-data/article)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

Alt text, lazy loading and the image signals that decide whether a picture is indexed.

- [01 · Image missing alt attribute Critical Images without alt attributes are invisible to search engines and fail accessibility standards (WCAG 2.1).](https://seocode.io/checks/image-missing-alt)

- [02 · Image has empty alt (possible oversight) Info Image has alt="" which is valid only for purely decorative images.](https://seocode.io/checks/image-empty-alt)

- [03 · Image missing lazy loading Info Images without loading="lazy" are loaded immediately, increasing initial page load time and hurting Core Web Vitals.](https://seocode.io/checks/image-missing-lazy-loading)

- [04 · Inconsistent image URL references Info Image URLs should be referenced consistently across pages for easier crawling on larger websites.](https://seocode.io/checks/image-url-consistency)

- [05 · Video thumbnail has excessive transparency Warning Google requires that at least 80% of video thumbnail pixels have little or no transparency to enable video indexing.](https://seocode.io/checks/video-transparency)

- [06 · Consider using AVIF image format for better compression Info Google Search now supports AVIF as an indexable image format.](https://seocode.io/checks/avif-image-format-supported)

[All 9 images checks](https://seocode.io/checks#images)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
