From Invisible to #1 on Google Maps. · 14 years experience · Book your free audit claim yours →
Technical SEO

Featured Images, Open Graph and Social Sharing: The Technical SEO Setup

How to configure og:image, twitter:card and max-image-preview:large so your posts look sharp in feeds, chats, Discover and search, and how to debug previews that break.

For: Owners and marketers of local service businesses, and the developers or agencies who publish their blog posts.

A business profile with the steps from this guideAn illustrated business profile card listing What social previews do and do not…, The tag set that matters, Image dimensions and aspect ratios…, Large images in Google Discover….Your businessLocal service businessCallDirectionsWebsiteIN THIS GUIDEWhat social previews do and do not…The tag set that mattersImage dimensions and aspect ratios…Large images in Google Discover…1200 x 630A safe og:image size thatworks across most platforms1.91:1The aspect ratio Facebookand LinkedIn crop to1200pxMinimum width Google asksfor to show large images inDiscoverILLUSTRATION
1200 x 630A safe og:image size that works across most platforms
1.91:1The aspect ratio Facebook and LinkedIn crop to
1200pxMinimum width Google asks for to show large images in Discover
0Direct ranking weight from social shares alone

When someone shares one of your blog posts in a text thread, a Facebook group, a LinkedIn feed or a Slack channel, the platform does not show your page. It shows a small card built from a handful of tags in your HTML: a title, a description and an image. If those tags are missing or wrong, the card is a bare link or a badly cropped logo, and almost nobody taps it. The same featured image also decides whether your article can appear with a large, eye-catching thumbnail in Google Discover and in some search results.

This guide covers the full setup: the Open Graph and Twitter Card tags, the image sizes and ratios that display well, the max-image-preview:large robots setting, file naming, alt text and compression, and the reasons previews break. It ends with a checklist you can apply to every service-business post. One honest note up front: social shares are not a direct Google ranking factor, so none of this is a ranking trick. It is about earning more clicks and visibility from content you already wrote.

Best use case: Treat share previews as click-through optimization: they influence who opens your page, not where Google ranks it.

What social previews do and do not do for SEO

Start by setting expectations correctly. Google has said for years that it does not use likes, shares or follower counts as a direct ranking signal. A post that goes viral in a neighborhood Facebook group will not climb the results page because of the share count itself. If an agency promises rankings from "social signals," be skeptical.

What previews do influence is everything that happens before a visitor reaches your page and after Google evaluates it:

  • Click-through from shares. A card with a clear image, a specific title and a one-line description gets opened far more often than a naked URL. More opens means more visits, more time on site and more chances to call or book.
  • Link discovery. A post that is easy and attractive to share is more likely to be shared, and shared posts are more likely to be seen by people who run websites, write local newsletters or manage association pages. Some of them will link to you. The link is what helps SEO, not the share.
  • Discover and image eligibility. The same hero image can make an article eligible for a large thumbnail in Google surfaces, which is a direct visibility benefit when it applies.

The tag set that matters: Open Graph plus Twitter Card

Open Graph is the protocol Facebook introduced, and it is now read by LinkedIn, Slack, WhatsApp, iMessage, Discord, Pinterest and most other apps that unfurl links. X (formerly Twitter) has its own twitter: tags but falls back to Open Graph when they are absent. You need a small, complete set in the <head> of every post:

<meta property="og:type" content="article">
<meta property="og:url" content="https://www.example.com/blog/ac-repair-cost-guide">
<meta property="og:title" content="What AC Repair Costs in Austin (2026 Guide)">
<meta property="og:description" content="Typical price ranges, what drives the bill, and how to spot an inflated quote.">
<meta property="og:image" content="https://www.example.com/img/ac-repair-cost-1200x630.jpg">
<meta property="og:image:alt" content="Technician checking an outdoor AC condenser unit">
<meta name="twitter:card" content="summary_large_image">

A few details separate working setups from broken ones:

  • Use absolute HTTPS URLs. A relative path like /img/photo.jpg in og:image fails on many scrapers. Always include the protocol and full domain.
  • Keep og:url equal to your canonical URL. If the preview points at a parameterized or duplicate URL, share counts and caches fragment across variants.
  • Write og:title for humans, not just for the title tag. It can differ from your SEO title. A title that is trimmed in search can be a little more conversational in a feed, but keep it accurate and under roughly 60 to 70 characters so it is not cut off.
  • twitter:card should be summary_large_image for articles. The default summary card shows a small square thumbnail beside the text and wastes your image. You can omit separate twitter:title, twitter:description and twitter:image tags if the Open Graph versions are correct, because X falls back to them.

Image dimensions and aspect ratios that display well

Each platform crops differently, which is why one badly chosen image looks fine on Facebook and chopped on X. The practical answer is to design one master image that survives every crop.

The safe default is 1200 x 630 pixels (1.91:1). Facebook and LinkedIn both display this ratio for link posts. Facebook has published a recommendation of 1200 x 630 with a minimum around 600 x 315, and LinkedIn works well with images close to 1200 x 627. X's large card crops closer to 2:1, so a 1.91:1 image loses only a thin strip at the top and bottom, which is fine if you respect a safe zone.

Build the image with these constraints:

  • Safe zone. Keep faces, text and your logo inside the central 80 percent of the frame, roughly 100 pixels away from every edge. Edge text is the first thing a crop destroys.
  • Stay under size limits. Platforms reject or ignore very large files. Aim for under 300 KB where quality allows, and treat 1 MB as a hard ceiling. X documents a 5 MB limit for card images, and Facebook is more generous, but fast scrapers and chat apps like WhatsApp are happier with smaller files.
  • Format. JPEG and PNG are the universally safe choices for og:image. WebP is increasingly supported, but some scrapers still handle it inconsistently, so use JPEG for the social image even if the on-page image is WebP or AVIF.

Large images in Google Discover and search: max-image-preview:large

Google Discover is a feed on mobile that surfaces articles to people based on their interests, with no search query involved. Unlike a typical search result, a Discover card is image-led. Google's guidance for Discover says that to get large images, your image should be at least 1200 pixels wide and the page must allow large previews, either by setting the max-image-preview:large robots directive or by using AMP.

The directive goes in a robots meta tag in the page head:

<meta name="robots" content="max-image-preview:large">

You can combine it with other directives, for example index, follow, max-image-preview:large. It can also be sent as an X-Robots-Tag HTTP header. The three values are none, standard and large. If you do not specify anything, Google uses its default behavior, which for Discover tends to mean a smaller thumbnail. Setting it explicitly to large gives Google permission to show the full-width version. For files that cannot carry a meta tag, such as images and PDFs, see our practical guide to the X-Robots-Tag HTTP header.

Be careful about a few traps:

  • Do not set max-image-preview:none or a snippet limit by accident. Some SEO plugins and privacy settings add restrictive directives such as nosnippet or max-snippet:0. These can affect how your content previews. Audit the final rendered HTML, not just your plugin settings.
  • The image must be crawlable. If robots.txt blocks your image folder or the image sits behind a login, Google cannot use it.
  • Declare the image in structured data. Add an image property to your Article markup. Google's documentation suggests providing multiple aspect ratios (16:9, 4:3 and 1:1) so it can pick the best fit, with the image large enough to exceed roughly 50,000 total pixels.

File naming, alt text and compression

The featured image is also a normal image in Google Images and on the page, so the same hygiene rules apply. These are small signals, but they are free and they help accessibility.

File names. Use short, descriptive, lowercase names with hyphens: water-heater-replacement-dallas.jpg, not IMG_4471.jpg or final-v3-use-this-one.jpg. Google reads file names as a light hint about subject. Do not stuff keywords, and do not rename an image after it is live unless you also update every reference, since the old URL will break and shared previews will point to a missing file.

Alt text. Describe what the image shows in plain language, in one sentence, as if telling someone who cannot see it. "Technician replacing a 50-gallon water heater in a garage" is useful. "water heater plumber dallas best cheap" is spam. Alt text matters for accessibility first, and it gives Google context for image search second. Decorative images can have empty alt text. Alt text on the page is separate from og:image:alt, though they can say the same thing.

Compression. Large images slow pages down, which hurts users and can hurt Core Web Vitals, especially Largest Contentful Paint when the hero image is the biggest element. Practical steps:

  • Use modern formats (WebP or AVIF) for the on-page image with a JPEG fallback where needed, and a JPEG for the og:image.
  • Compress to the lowest quality that still looks clean on a phone. For photos this is often quality 70 to 82.

Why share previews break, and how to debug them

When a card looks wrong, the cause is almost always one of a few things. Work through them in order.

  1. Tags are missing or malformed. A stray quote, a tag placed in the <body>, or two conflicting og:image tags from a theme and a plugin can confuse scrapers. View the page source and search for og:. Duplicates are common after switching SEO plugins.
  2. Tags are injected by JavaScript. Social scrapers generally do not run JavaScript. If your React or single-page-app front end sets meta tags after load, the scraper sees empty tags. Render them on the server or in static HTML.
  3. The image URL fails. It may be relative, HTTP on an HTTPS site, blocked by robots.txt, behind a login, redirected several times, or served by a firewall or CDN that blocks unknown bots. Open the image URL in a private window and confirm it returns a 200 status.
  4. Cached previews. Platforms store the first version they scrape. If you fix the tags later, the old preview can keep appearing for days. This is the most misunderstood cause, and it is solved by re-scraping, not by editing again.

Then test with each platform's own tool rather than guessing:

  • Facebook Sharing Debugger (Meta for Developers): shows the tags Facebook read, warnings, and the image it picked. The "Scrape Again" button clears its cache for that URL. Instagram and Messenger previews generally follow Meta's cache.
  • LinkedIn Post Inspector: shows the card LinkedIn will render and refreshes its cached copy when you inspect the URL.
  • X: the standalone Card Validator has been retired, so the practical test is to paste the link into a draft post in the composer and view the preview card. Check that it shows the large image layout.
  • Slack, WhatsApp, iMessage, Discord and Telegram: no formal debugger for most. Paste the URL into a private chat with yourself. If it looks stale, add a harmless query string such as ?v=2 to force a fresh fetch for testing, then remove it for real shares.

A good habit is to run the Facebook and LinkedIn tools on a post right before you publicize it, then share. For site-wide checks of titles, descriptions, canonicals and image tags across many pages at once, run a website SEO audit and look for missing or duplicate tags in bulk.

A checklist for service-business blog posts

Use this before you hit publish on every post. It takes about five minutes once the template is set up.

Tags and template

  • og:type, og:url, og:title, og:description and og:image all present, once each, in the HTML head.
  • og:url matches the canonical URL; every URL is absolute and HTTPS.
  • twitter:card set to summary_large_image.
  • og:image:alt written as a plain description.
  • Tags are in server-rendered HTML, not injected by JavaScript.
  • Robots meta includes max-image-preview:large and no accidental nosnippet or max-snippet:0.

Image

  • Social image is 1200 x 630 (1.91:1) JPEG, under about 300 KB, with key content in a central safe zone.
  • On-page hero is at least 1200 pixels wide for Discover eligibility, compressed, with width and height attributes.
  • Descriptive hyphenated file name; accurate alt text; no keyword stuffing.
  • Image is crawlable, returns a 200 status and is not blocked by robots.txt.
  • Article schema includes an image property (ideally 16:9, 4:3 and 1:1 versions).

Testing and launch

  • Run Facebook Sharing Debugger and LinkedIn Post Inspector; click re-scrape if you changed anything.
  • Check the card in an X draft and in a private chat app on your phone.
  • Share the canonical URL, not a tracking variant, from your main channels, and add the post to your internal links so crawlers and readers can find it. Our blog index is a good model for how new posts should be discoverable.

FAQ

Do social shares help Google rankings?

Not directly. Google has said it does not use likes, shares or follower counts as a ranking signal. Shares can still help indirectly: they bring visits, build brand recognition and sometimes lead to real links from sites that discover your post. Set up previews to win clicks and visibility, not to chase a ranking boost.

What size should my og:image be?

Use 1200 x 630 pixels (a 1.91:1 ratio) as the safe default. It displays well on Facebook, LinkedIn and most chat apps, and it crops acceptably on X's large card. Keep important text and faces inside a central safe zone, use a JPEG or PNG, and aim for a file under roughly 300 KB.

What does max-image-preview:large do?

It is a robots directive that tells Google it may show a large image preview of your page in search and Discover. Google's Discover guidance asks for images at least 1200 pixels wide plus this directive (or AMP). Add it to the robots meta tag, and make sure no plugin adds restrictive snippet settings.

I fixed my tags but the old preview still shows. Why?

Platforms cache the first version they scrape, so your correction may not appear for days. Open Facebook's Sharing Debugger or LinkedIn's Post Inspector, enter the URL and re-scrape it. For chat apps without a debugger, test with a temporary query string. Also confirm the new image URL loads publicly.

Should the social image and the on-page hero be the same file?

They can be, but separate files usually work better. Serve a responsive WebP or AVIF hero on the page for speed and Discover eligibility, and keep one reliable 1200 x 630 JPEG for og:image, optionally with a headline overlay. Both should have accurate names, be crawlable and stay well compressed.

Turn this into a practical SEO action plan

Use RankLocalToday tools to check rankings, diagnose website issues, and prioritize the next organic traffic move.

Get your SEO plan →