All checks / Images
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.
Info
image-preferred-source-metadata
In SEOCode's checks since 9 May 2026
What it checks
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.
The fix
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.
Sources
Where this comes from.
Images
Related checks.
Alt text, lazy loading and the image signals that decide whether a picture is indexed.
Image missing alt attribute Critical
Images without alt attributes are invisible to search engines and fail accessibility standards (WCAG 2.1).
Image has empty alt (possible oversight) Info
Image has alt="" which is valid only for purely decorative images.
Image missing lazy loading Info
Images without loading="lazy" are loaded immediately, increasing initial page load time and hurting Core Web Vitals.
Inconsistent image URL references Info
Image URLs should be referenced consistently across pages for easier crawling on larger websites.
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.
Consider using AVIF image format for better compression Info
Google Search now supports AVIF as an indexable image format.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card