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.
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 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 noAcceptheader it returnedimage/png. WithAccept: image/avif,image/webp,*/*the same URL returnedimage/avif, withVary: 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
Acceptheader, was 644,447 bytes. The audit flags a card over 500 KB asimage_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=900and 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