Default OG Image

Set a default Open Graph (OG) image that appears when your content is shared on social media and the page doesn’t have a featured image. Ensure consistent, professional branding across Facebook, Twitter, LinkedIn, and other platforms.

Use Cases

  • Provide branded social share images for pages without featured images
  • Ensure archive pages, search results, and custom pages have share images
  • Display your company logo when posts are shared without specific images
  • Maintain brand consistency across all social media shares

How It Works

  1. Upload your default OG image in the module settings
  2. When someone shares a page without a featured image:
    • Your default image is used
  3. When someone shares a page with a featured image:
    • The featured image is used (default is ignored)

Where to Find It

Location: Configure your default image in the module settings. The meta tags are automatically added to all pages.

Settings

SettingDescription
Default OG ImageUpload or select an image from your media library

Image Requirements

For best results across all social platforms:

SpecificationRecommendation
Size1200 × 630 pixels (optimal)
Minimum600 × 315 pixels (required by Facebook)
FormatJPG or PNG
File SizeUnder 1MB for fast loading
Aspect Ratio1.91:1 (landscape)

Design Tips

  • Include your logo for brand recognition
  • Use your brand colors as background
  • Avoid too much text (may be hard to read when scaled)
  • Keep important content centered (edges may be cropped)
  • Make it visually appealing even as a thumbnail

When It’s Used

The default OG image appears for:

Page TypeHas Featured Image?Image Used
Single postYesFeatured image
Single postNoDefault OG image
PageYesFeatured image
PageNoDefault OG image
Archive pagesN/ADefault OG image
Category/tag pagesN/ADefault OG image
Search resultsN/ADefault OG image
HomepageIf setFeatured/site image

Meta Tags Generated

The module adds these meta tags to your page <head>:

<meta property="og:image" content="https://yoursite.com/your-og-image.jpg" />
<meta name="twitter:image" content="https://yoursite.com/your-og-image.jpg" />

Testing Your OG Image

After setting up, verify it works:

Facebook Sharing Debugger

  1. Go to developers.facebook.com/tools/debug/
  2. Enter a URL from your site that has no featured image
  3. Click “Debug”
  4. Check that your default image appears

Twitter Card Validator

  1. Go to cards-dev.twitter.com/validator
  2. Enter a URL from your site
  3. Verify the image displays correctly

Manual Check

  1. View page source on a page without a featured image
  2. Search for “og:image”
  3. Verify the URL points to your default image

Working with SEO Plugins

If you use an SEO plugin (Yoast, Rank Math, etc.), note:

  • SEO plugins often set their own OG images
  • This module acts as a fallback when they don’t
  • SEO plugin settings typically take priority
  • Test to confirm which takes precedence on your site

FAQ

Why isn’t my image showing on Facebook?Facebook caches images aggressively. Use the Facebook Debugger to clear the cache. Click “Scrape Again” to refresh.
What if I use an SEO plugin too?Both can coexist. SEO plugins typically only set OG images for posts with featured images. This module catches the rest. Test sharing a page without a featured image to confirm.
Can I set different default images for different post types?This module uses one global default. For post-type-specific images, use an SEO plugin’s advanced settings or custom code.
Why is my image cropped strangely?Different platforms crop images differently. Use the recommended 1200×630 size and keep important content in the center third of the image.
Do I need this if all my posts have featured images?It’s still valuable for archive pages, category pages, tag pages, and any other pages that can be shared but don’t have featured images.

Create a branded template image in your design software. It should look good standalone and represent your brand even when the page content varies.

After changing your OG image, social platforms will continue showing the old image until their cache expires. Use their debugging tools to force a refresh.

PRO

Get access to all 147 modules with a single license

Upgrade to Pro