og:image meta tag is present

medium

og_image

Checks if the og:image meta tag is present.

What does this rule check?

The og:image tag specifies the image displayed in social media link previews. It should be at least 1200x630 pixels for optimal display across all platforms.

Why is this important?

Posts without images get significantly less engagement on social media. A good og:image can dramatically increase click-through rates from social shares.

How to fix

Create a dedicated social sharing image (1200x630px) and add the og:image meta tag.

Examples

Incorrect
<!-- No og:image - social share has no image preview -->
Correct
<meta property="og:image" content="https://example.com/images/social-card.png" />
<!-- 1200x630px image for social media -->

Agent fix snippet

Copy this snippet and paste it into your AI coding agent to fix this issue automatically.

Add og:image meta tag:

<meta property="og:image" content="https://yourdomain.com/og-image.png" />

Create a 1200x630px image. Use absolute URL.