← All guides

CMS Guide

Framer OG Image Not Working: Five Causes and Fixes

Where Framer sets the social preview image site-wide, per page and per CMS item, what its served head looks like, how custom code and framerusercontent.com affect the card, and how to verify a fix.

How Framer produces OG tags

Framer writes the Open Graph and X tags itself. There is no theme or plugin to choose: you give Framer an image, a title and a description, and it prints the tags into the published page. Three places hold those values, and the narrower one wins:

  1. Site Settings. Framer's academy says to use site settings for global details such as the site name, language, favicon and social image. The site title and description are set there too, and Framer's help article says they apply to every page unless you override them.
  2. Page Settings. The same academy lesson says page settings are for the title, description, URL, visibility and sharing details that should differ for a specific page. Open your project settings and pick the page in the left panel.
  3. A CMS page's Page Settings, bound to a field. One page design serves every item in a collection. Its Page Settings can read the title, description and social image from each item's fields.

Framer's help article names the CMS image control exactly: Page images, Social preview, CMS Variables. Neither the help article nor the academy gives the label of the upload slot for the site-wide image or for an ordinary page, so this guide does not quote one. Look in Site Settings and in the page's settings for the social image slot, and check the result in the published source, not in the editor.

What the published head looks like

This is the part of the head Framer generated for a CMS page on framer.com, a site built in Framer (the blog post at /blog/introducing-avif-support/, fetched with a Facebook crawler user agent on 2026-11-24). Unrelated tags are left out:

<meta name="generator" content="Framer ad70b6d">
<title>How Framer integrated AVIF for faster, smaller, and sharper images</title>
<link rel="canonical" href="https://www.framer.com/blog/introducing-avif-support/" data-framer-generated-canonical>
<meta property="og:url" content="https://www.framer.com/blog/introducing-avif-support/">
<meta property="og:type" content="website">
<meta property="og:title" content="How Framer integrated AVIF for faster, smaller, and sharper images">
<meta property="og:image" content="https://framerusercontent.com/images/zbVADHY1tUWhsrZt4TyINU8v3kw.png?width=1600&height=900">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://framerusercontent.com/images/zbVADHY1tUWhsrZt4TyINU8v3kw.png?width=1600&height=900">

Four things to take from it:

  • The tags are in the HTML the server returns. Framer's hosting guide says pages are server-rendered, the most visited at publish time and the rest on first request, so crawlers that do not run JavaScript still see them.
  • twitter:card is summary_large_image and twitter:image repeats the og:image URL, so X needs no separate setting.
  • The generated tags come first in the head. The custom code the site owner added sits further down, wrapped in comments, which matters for Problem 3.
  • The CMS page's image URL carries ?width=1600&height=900, and the file that URL returns is 1600 by 900 pixels. The home page's image URL, an uploaded page image, has no query string.

Each problem below is one of these paths going wrong, and each names the finding in the checker or the site audit that reports it. properOG's audit detects Framer from the Framer generator tag, so on a Framer site an image_missing finding names the Framer settings and links this guide.

Problem 1: every page shows the same image, or none

Symptom

Every link to your site unfurls with the same card, or with no image and a text-only preview.

Cause

  • No social image is set anywhere. I found no Framer article that says what a page prints in that case, so read the published source of one page to see.
  • Only the site-wide image is set. Every page without its own inherits it. On a site with a home page, a pricing page and a blog, all three then share one card. That is the documented behaviour and a poor result: when a post is shared, the card says nothing about the post.
  • The change was never published. Framer's academy says to keep publishing separate from editing, and the help article's steps for page settings end with re-publishing the site. Saving in the editor does not change the live page.

Fix

Set a good site-wide social image first, so nothing ships without one. Then open the Page Settings of each page that has its own message (pricing, product pages, the blog index) and give it a card of its own. Publish, then read the published source (see Verify your fix).

Detected by

The checker's image_presence check, which reads "Missing og:image", and the audit's image_missing finding for pages with no image. When one site-wide image serves pages from several templates, the audit reports image_shared.

Problem 2: CMS pages share the wrong image

Symptom

Blog posts, products or case studies built from a CMS collection all share the site image, or the card shows a picture that is not the item's.

Cause

A collection has one detail page, and its social image is a setting on that page. Framer's help article gives the steps for a card per item:

  1. Add an Image field to the collection, for example "Cover image".
  2. Upload an image for each item.
  3. Open the CMS page's Page Settings.
  4. Under Page images, Social preview, choose CMS Variables and select your image field.

Skip the last step and the page keeps whatever static image it has, so every item gets the same card even though each has a cover image of its own. Binding the wrong field gives a different wrong card: a thumbnail field makes every card the thumbnail. Titles and descriptions work the same way. In Page Settings, {{Title}} in the Title field pulls in a Plain Text field named Title, and {{Description}} does the same for the description. The panel lists the variables available.

Items with an empty image field are a gap in the documentation. The help article does not say what the page prints when the bound field is empty, and I did not find another Framer page that does. Publish one test item with the field empty and read its head before you rely on a fallback.

Fix

Bind the social preview of each CMS page to an image field that every item fills in. Use images at the 1200 by 630 pixel aspect ratio the help article asks for, with the important content centred. Then check one item, not the collection index: the index page and the item page have separate settings.

Detected by

The audit groups sitemap URLs into templates and samples across them. A collection page sharing the site image with the pages around it is image_shared, and one with no image is image_missing. The checker shows the card for any single item.

Problem 3: custom code adds or contradicts tags

Symptom

The tags are set in Framer and the card is still wrong, or one platform shows a different card from another. Or the image is right and its declared size is not.

Cause

Framer lets you add code to the head. Its academy says to use Custom Code in Site Settings for a whole site, or in the page's own settings for one page, and that positions exist at the start and end of the head and the body. Framer's developer documentation names the head positions headStart and headEnd and shows plugins inserting code through them, so a tag can come from a plugin you installed and forgot.

What matters for cards is where that code lands relative to the generated tags. On the CMS page above, the generated tags were the first thing in the head. The site's custom code followed, between comments reading Start of headStart and End of headStart, and again near the end of the head before End of headEnd. Each snippet was wrapped in Snippet and SnippetEnd comments, which makes it easy to find in the source.

That placement has two consequences:

  • A second og:image from custom code comes after Framer's. The checker reads the first one, which is Framer's, so your custom tag is ignored there. The Facebook documentation pages I read do not say which of several og:image tags it uses, so a page with two cannot be relied on to look the same on every platform.
  • Hard-coded companions go stale. This is a real case on that page. A custom snippet printed fixed size tags next to the Framer-generated image:
<!-- Snippet: M6vTWgZxO -->
<meta property="og:site_name" content="Framer">
<meta property="og:image:width" content="2400">
<meta property="og:image:height" content="1260">
<!-- SnippetEnd: M6vTWgZxO -->

The snippet is site-wide, so those tags were on every page. On the CMS page the generated og:image is 1600 by 900, and the tags say 2400 by 1260. I downloaded both files: the CMS page's image is 1600 by 900 pixels, and 2400 by 1260 is the size of the home page's image. Do not hard-code dimensions in a site-wide snippet. The same goes for a fixed og:title or og:description.

Fix

Search the published source for Snippet: comments and for every og: and twitter: tag, and count them. Remove custom tags that repeat what Framer already generates, and keep only tags Framer does not print, such as these:

<meta property="og:site_name" content="Your site">
<meta name="twitter:site" content="@yourhandle">

Framer's academy says custom code does not load in the canvas preview, so you see its effect only on a published page. If a tag must differ for one page, put it in that page's own Custom Code rather than the site's.

Detected by

No finding counts duplicate tags. The source and the curl command under Verify your fix show them. A wrong declared size is not compared with the file either: the checker measures the image it downloads and reports that size under dimensions, which is the number to trust.

Problem 4: the image is the wrong size or format

Symptom

The card is soft, cropped, or slow to appear, or a checker warns about file size or format.

Cause

The image URL points at framerusercontent.com, one of the domains Framer's allowlist article lists for its editor, hosting and previews. The response headers name CloudFront, and the hosting guide says Framer runs on AWS behind a global CDN. Some behaviours of that pipeline are specific to Framer:

  • Framer resizes for you, and never upscales. The image optimization article says each uploaded JPEG, PNG, WebP or GIF gets variants with a longest side of 512, 1024, 2048 and 4096 pixels, and that an image smaller than a target size is used as it is. Framer will not enlarge a small social image for you.
  • The same URL can return different formats. The article says Framer converts most uploads to AVIF and serves WebP to browsers without AVIF support. I requested the home page's image URL, which ends in .png. With no Accept header it returned image/png. With Accept: image/avif,image/webp,*/* the same URL returned image/avif, with Vary: Accept. The extension is not the format.
  • The file a crawler receives can be heavy. The home page image of framer.com, requested with no Accept header, was 644,447 bytes. The audit flags a card over 500 KB as image_oversized. A browser never sees that size, which is why the problem hides. I did not test what any particular platform's crawler sends.
  • A CMS image is resized to a stated size. The CMS page's URL asked for width=1600&height=900 and returned a file of exactly that size, so the card's shape follows the field's image. Upload cards at 1200 by 630, or the 1.91:1 ratio, or the platform crops them.

The help article says Framer uses a 1200 by 630 pixel aspect ratio for social previews. Facebook's image documentation asks for at least 1200 by 630 for high resolution displays, a 1.91:1 ratio so the whole image shows in the feed, a minimum of 200 by 200 pixels, and a file of at most 8 MB.

Fix

Upload a 1200 by 630 image. Flat artwork compresses small; a photographic card is where size grows, so keep it under the 500 KB the audit checks. Then request the published image URL with the curl commands under Verify your fix and read the type and size you actually receive.

Detected by

The checker's dimensions, file_size and image_format checks, and the audit's image_undersized (narrower than 1200 pixels) and image_oversized (over 500 KB) findings.

Problem 5: you republished and the old card still shows

Symptom

The published source shows the new image. Slack, LinkedIn, X, Facebook or a messaging app shows the old one.

Cause

Framer's hosting guide says sites publish globally in seconds, with immediate cache invalidation for updates. The old card therefore comes from the other side, the platform that fetched it. The help article's FAQ says it directly: platforms like Slack, LinkedIn and X often cache old images.

Facebook documents the rule precisely. It caches images by URL, so replacing an image requires a new URL, and updating the image for a URL does not update the preview of old shares. Before you blame a cache, confirm in the published source that the og:image URL is a different one from the old card's.

Fix

In this order: publish, read the published source and confirm the new og:image URL, request that image URL, then re-fetch the page in each platform's debugger (links below). In that order a platform never re-caches the old head. Shares already posted keep their old card on Facebook.

Detected by

A stale platform copy cannot be seen from your page. The checker reads what you serve now, and if its og:image differs from what a platform shows, the platform's cache is the cause. The audit's image_uncacheable finding applies when an image answers with headers that forbid caching. The home page image I read was served with a one year max-age, so a Framer image does not trip that finding.

The step-by-step fix

Step 1: set the site-wide image

Open Site Settings and set the site title, description and social image. Use a 1200 by 630 image that works for any page, such as your brand card. Every page without its own image inherits it.

Step 2: give pages with their own message a card

Open the project settings, choose the page under Page Settings, set the title and page description, and add the page's social image. Click Save and re-publish. Titles and descriptions override the site defaults at this level.

Step 3: bind CMS pages to a field

Add an Image field to each collection that has a detail page, fill it for every item, then bind Page images, Social preview to it under CMS Variables in the detail page's Page Settings. Bind the title and description with {{Title}} and {{Description}} from Plain Text fields.

Step 4: audit custom code

Open Custom Code in Site Settings and in the pages' own settings. Remove tags that repeat or contradict what Framer prints, above all fixed og:image, size, title and description tags. Check plugins that add head code.

Step 5: publish and re-fetch

Publish, read the source, then refresh each platform's copy as in Problem 5.

Verify your fix

Read the head as a crawler does. Framer serves the tags in the HTML, so a plain request shows them. Print them for one CMS item, one ordinary page and the home page, since each takes a different path:

curl -sA 'facebookexternalhit/1.1' https://your-site.com/blog/your-post/ \
  | grep -oE '<meta (property|name)="(og|twitter):[^"]*" content="[^"]*"'

Count the og:image lines and open the URL on the one you expect.

Read the image as a client does. The first request sends no Accept header, the second what a modern browser sends. Compare the type and size:

curl -sI 'https://framerusercontent.com/images/your-image.png' \
  | grep -iE '^(http|content-type|content-length|cache-control|vary)'
curl -sI -H 'Accept: image/avif,image/webp,*/*' 'https://framerusercontent.com/images/your-image.png' \
  | grep -iE '^(http|content-type|content-length|cache-control|vary)'

Check one URL. The checker scores the card (reachability, dimensions, file size, tags) and renders how it looks on each platform. Enter a published page of your site, not the editor or a preview link. You can also check the example page from this guide.

Audit the whole site. The site audit reads your sitemap, groups URLs into page templates and samples across them, so a collection page whose social preview is not bound shows up as image_shared or image_missing across its items.

Refresh the platforms. Framer's help article suggests a link preview tool to see how titles, descriptions and images appear on Google, X, LinkedIn and Slack. Then use the platform tools: the Facebook Sharing Debugger (see the Facebook link preview guide), the LinkedIn guide and the X card guide. The same traps in a code-first stack are in the Next.js guide.

A card worth sharing from Framer

Once the tags are right, the card is what people see. A cover image made for the page is rarely a good card: it is cropped for the layout and carries no title. A card made for sharing has the page's title and your brand, at the size the platforms want.

The properOG generator builds that card from your site's colours and fonts and gives you a clean 1200 by 630 PNG. Upload it as the site's social image, as a page's image, or in the image field of a CMS item, publish, and run the checks above.

Frequently Asked Questions

How do I set the social preview image in Framer?

Set a site-wide social image in Site Settings, then override it per page in Page Settings. For a CMS collection, add an Image field, fill it for each item, and in the detail page's Page Settings choose CMS Variables under Page images, Social preview and pick that field. Framer uses a 1200 by 630 pixel aspect ratio, and the change appears only after you publish.

Why does every Framer CMS page share the same OG image?

The detail page's social preview is a setting on that one page. Unless it is bound to an image field with CMS Variables, every item gets the page's static image or the site-wide one. Bind it to a field that every item fills in, publish, and check one item's source.

Why is my Framer OG image still the old one after publishing?

Framer's hosting guide says publishing invalidates its cache immediately, so the old card is usually the platform's copy. Slack, LinkedIn and X often cache old images, and Facebook caches them by URL and does not update old shares. Confirm the new og:image URL in the published source, then re-fetch the page in each platform's debugger.

Can I add my own og:image tag with custom code in Framer?

You can add code to the head, but Framer already prints an og:image, and on the Framer-built page I read, custom code came after the generated tags. The checker reads the first og:image, so a second tag is ignored there. Set the image in Framer's settings and use custom code only for tags Framer does not print.

What size should a Framer social image be?

Framer's help article says it uses a 1200 by 630 pixel aspect ratio for social previews and recommends keeping important content centred. Facebook asks for at least 1200 by 630, a ratio near 1.91:1, and no more than 8 MB. Framer never upscales an image, so a smaller upload stays at its own size.

Audit your site

Sample pages across every template in your sitemap and see which ones ship the wrong card, or none. Free, no account needed.

Related guides