← All guides

CMS Guide

Wix OG Image Not Working? Where to Set It and What to Check

Where Wix sets the social share image for pages, blog posts, CMS dynamic pages and store products, what it prints in the head, how custom meta tags and Velo code change it, and how to verify the card.

How Wix produces OG tags

Wix writes the Open Graph and Twitter tags for you. Its Help Center says it adds SEO meta tags and Social Share meta tags to every page by default, built from your site's data, and that the defaults depend on the page type: main pages, products, blog posts, dynamic item pages and so on. You never edit the template. You fill in the Social share settings, and the tags follow.

Here is a served head. It is the blog post /blog/how-to-build-website-from-scratch-guide on wix.com, fetched with curl on 2026-11-24 with a crawler user agent. It is Wix's own marketing site, not a customer's, so a plan or setting of yours can differ, but it carries the Wix.com Website Builder generator tag and matches the defaults the Help Center documents:

<link rel="canonical" href="https://www.wix.com/blog/how-to-build-website-from-scratch-guide"/>
<meta property="og:title" content="How to Create a Website From Scratch: 10 Steps for Beginners"/>
<meta property="og:image" content="https://static.wixstatic.com/media/df59d5_eabbe0b5b2fd4e95b8daf7355dde2ecf~mv2.jpg/v1/fill/w_1542,h_1020,al_c,q_85/df59d5_eabbe0b5b2fd4e95b8daf7355dde2ecf~mv2.jpg"/>
<meta property="og:image:width" content="1542"/>
<meta property="og:image:height" content="1020"/>
<meta property="og:url" content="https://www.wix.com/blog/how-to-build-website-from-scratch-guide"/>
<meta property="og:site_name" content="Wix Blog "/>
<meta property="og:type" content="article"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://static.wixstatic.com/media/df59d5_eabbe0b5b2fd4e95b8daf7355dde2ecf~mv2.jpg/v1/fill/w_1542,h_1020,al_c,q_85/df59d5_eabbe0b5b2fd4e95b8daf7355dde2ecf~mv2.jpg"/>
<meta name="generator" content="Wix.com Website Builder"/>

A default request without the crawler user agent returned the same og: and twitter: tags, so the head is in the served HTML and does not depend on a script running. Wix's home page (og:type website, image w_1200,h_630) and its /blog index carried the same set of tags.

What each page type uses for og:image

The defaults article lists, per page type, where og:image comes from when you have set nothing:

  • Main pages and dynamic list pages: no image, unless you have added a site-wide image.
  • Product pages: the product image.
  • Blog posts: the post cover image.
  • Dynamic item pages: the primary image URL of the collection, the URL of the first image field in the connected collection.

Everything else on this page is a way to change one of those four answers.

Two defaults matter for sharing. twitter:card defaults to summary_large_image ("Large"), and twitter:image defaults to your og:image, so one image normally serves both. Wix also prints og:image:width and og:image:height from the image's own proportions.

Wix adds a caveat of its own: each network uses its own criteria to choose the title, description and image, so your Social share settings are likely, but not guaranteed, to be used.

Set one image for the whole site

A site-wide image is what a main page falls back to, since a main page has no image of its own by default. The Help Center article "Wix Editor: Changing Your Og:Image" gives these steps:

  1. Open your site's settings in the dashboard.
  2. Under Site and Domain, click Website settings.
  3. Scroll to General social image and click Upload Image.
  4. Choose or upload the image in the Media Manager, click Add Icon, then Save.
  5. Open the editor and publish the site. The change does not reach the live site until you publish.

The article's own FAQ says the site image appears whenever a page without an image of its own is shared. A site-wide image is a safety net, not a card: every page that falls back to it shares the same picture, which is what properOG's audit reports as image_shared when it spans different templates. Keep it for the home page and brand-level pages, and give the pages that matter their own.

Set the image for one page, or a whole page type

One page, from the editor

In the Wix Editor, the same article says: open Pages & Menu, hover over the page, click More Actions, choose Social share, click Upload Image, pick the image, click Add to Page and publish. The same panel holds the page's og:title and og:description. The Help Center names Wix Studio and Wix Harmony as separate editors with their own menus for some of these tasks, so if the labels differ in yours, start from the dashboard route below.

A page type, from the SEO dashboard

The article "Customizing the Social Share Settings for Your Site's Pages" gives the dashboard route:

  1. Open SEO & GEO in the site's dashboard.
  2. Scroll to Tools and settings and click SEO Settings.
  3. Pick the page type (you only see types your site has: Wix Stores adds Products, for example).
  4. Click Edit next to Basics & social share and scroll to Social share.

For og:image you can type or paste an image URL to use the same image for every page of that type, or use a variable to take a different image from each page. The variable list includes General Social Image, Main Product Image, Post Cover Image, Event Image, Category Image, Project Cover Image and, for CMS dynamic pages, Primary image URL. Wix's tip for getting a URL: click Get an Image URL from Site Files, then copy the URL of a file from the media manager.

Wix recommends keeping og:title under 80 characters and og:description under 300, or they may be truncated.

Fix blog posts sharing the wrong image

A Wix Blog post's default og:image is its cover image. The article "Wix Blog: Sharing a Blog Post on Social Media" gives the order of fallbacks: if you do not use a cover image, the first image in the post is shown; if the post has no image, video or cover image, the image comes from the Social tab in the dashboard.

That order explains the usual complaint. A post with no cover image shares whatever picture happens to sit first in its body, which is rarely a card. Set the cover image on every post:

  1. In the dashboard, open Blog and select the post.
  2. Open the post's Settings and enable the Featured image toggle (the Wix app calls it Show cover image).
  3. Add the image and click Publish.

Wix's note on the toggle: with Display Cover Image turned off, the image is shown only when sharing, not in the feed. The cover image is separate from images inside the post body, and changing one does not change the other.

The served post above shows the other half of this. Its og:image is served as 1542 by 1020 (a ratio of 1.51:1), with og:image:width and og:image:height to match. Wix did not crop it to 1.91:1. Facebook's documentation asks for images as close to 1.91:1 as possible to avoid cropping, so a cover meant to be shared should be made at 1200 by 630 before you upload it.

Post titles and descriptions come from the post's SEO tab (title tag and meta description), which the og:title and og:description defaults copy.

Fix CMS dynamic pages and Wix Stores products

Dynamic item pages

A dynamic item page shows one collection item. By default its og:image is the collection's primary image, which is the first image field. If that field is empty, or the first image field is not the one you want shared, the card is wrong on every item.

The article "CMS: Working with SEO Settings for Dynamic Pages" says to edit item pages from the SEO dashboard: go to Go to SEO Settings under Tools and settings, click the dynamic item page under Edit by page type, click Edit next to Basics & social share, and use + Add Variable next to the field. Add a collection image field as the og:image variable, so each item shares its own picture. Dynamic list pages share the main pages' defaults, and Wix notes that in Wix Studio, page variants inherit all SEO settings from the original dynamic page.

The same article says Wix is releasing new SEO settings for dynamic pages, and that if you do not see them in the dashboard you should use the page settings in the editor instead. If your dashboard lacks them, that is why.

Store products

A product page's og:image defaults to the product image, and Wix also prints og:type product and product price and availability tags. You can change the product social image, title and description from the Products page type in the SEO settings, as in the section above. The main product image is therefore the card unless you change it, so a product photo that is cropped for the store layout is what gets shared.

Custom meta tags and X settings

Social share settings are the supported way to set og:image. Wix also lets you add tags by hand, with limits that decide what works.

The "Adding Additional Meta Tags" article puts it under the page's SEO settings: in the Wix Editor, Pages & Menu, More Actions, SEO basics, the Advanced SEO tab, Additional Tags, + Add New Tag, paste the tag into the HTML Code field and click Apply (Wix Studio uses Pages and SEO Basics). The limits, from that article and "Header Code Meta Tag Guidelines":

  • Up to 10 additional tags, and none that Wix already creates for you. Default tags cannot be deleted, only hidden.
  • Only link, meta and comment tags, 2,000 characters at most, and no scripts.
  • No duplicate of a tag Wix generates. The guidelines name the title tag and meta description, Google Analytics, og:title, og:type, og:url and the robots tag.

The guidelines do not name og:image among the refused tags, but do not rely on Additional Tags to replace it. If a second og:image is accepted, it sits beside the one Wix writes, and a checker reads the first tag in the document. Set the image in Social share instead, and use Additional Tags for tags Wix does not create.

The X (Twitter) settings sit beside Social share. Per the Help Center, x:image, the card size (Large or Small), x:title and x:description default to the Social share values, and you can set them separately. The default is Large. If you chose Small, read twitter:card in the served head: properOG's audit reports anything other than summary_large_image as twitter_card_small. Wix also says a change can take up to a week to reach X shares.

Set the image from Velo code on dynamic pages

If the variable route is not enough, Wix's Velo reference documents wix-seo-frontend. Its setMetaTags() takes an array of objects and writes them as meta tags in the head. For og:image, Wix says content can be an external image URL or a Media Manager image URL (wix:image://v1/...), and two rules apply:

  • Set the tags inside the page's onReady() handler so that search engines can read them.
  • The tags you set overwrite any meta tag information set earlier. The reference does not say whether that is per tag or for the whole set.

Because of that second rule, the snippet below reads the tags Wix already built (the metaTags getter, which the reference says to call outside onReady()), drops the four image tags and passes the rest back with the new ones. It assumes a text field named ogImageUrl in the collection that holds a 1200 by 630 image URL. getCurrentItem() returns nothing until the dataset has loaded, so the call sits in the dataset's own onReady() inside the page's.

import wixSeoFrontend from 'wix-seo-frontend';

// The reference says to read metaTags outside onReady().
const wixTags = wixSeoFrontend.metaTags;
const IMAGE_TAGS = ['og:image', 'og:image:width', 'og:image:height', 'twitter:image'];

$w.onReady(() => {
  // Replace #dynamicDataset with the ID of the dataset on this page.
  $w('#dynamicDataset').onReady(() => {
    const item = $w('#dynamicDataset').getCurrentItem();
    // ogImageUrl is a text field in the collection holding an https URL, 1200x630.
    if (!item || !item.ogImageUrl) return;

    const kept = wixTags.filter(
      (tag) => !IMAGE_TAGS.includes(tag.property) && !IMAGE_TAGS.includes(tag.name)
    );

    wixSeoFrontend.setMetaTags([
      ...kept,
      { property: 'og:image', content: item.ogImageUrl },
      { property: 'og:image:width', content: '1200' },
      { property: 'og:image:height', content: '630' },
      { name: 'twitter:image', content: item.ogImageUrl },
    ]);
  });
});

This was checked against the reference, not run on a published Wix site, so treat the served head as the test: publish, then request the page as in the verification section below and count the og:image lines. Two image tags mean the code added rather than replaced. None means it never ran before the page was served.

Do not use setMetaTags() for the title: the reference points to setTitle().

Image size, hosting and caching

Wix hosts what you upload in the Media Manager and serves it from static.wixstatic.com. A card URL looks like the one in the head above: the file name, then /v1/fill/ with width, height and alignment parameters (w_1542,h_1020,al_c,q_85), then the file name again. Wix's home page serves its card as w_1200,h_630,al_c.

Size and format

Wix's article "Recommended Og:Image Size" repeats Facebook's guidance: a ratio of 1.91:1, no more than 8 MB, 1200 by 630 pixels, 200 by 200 as the minimum and 600 by 315 recommended, below which the preview is a small image. Facebook's documentation says the same, and adds that images of at least 1200 by 630 display best on high resolution devices. The article also notes that a WhatsApp preview shows only if the image is under 300 KB, which is Wix's claim and not one properOG has measured; properOG's audit flags a card over 500 KB as image_oversized and one under 1200 pixels wide as image_undersized.

Wix accepts JPG, PNG, GIF, WEBP, AVIF and other formats for site images, up to 50 MB. It says images are converted to AVIF on the live site for speed. The og:image URLs I read served image/jpeg, so look at your own card's content type before assuming either way (the second command below).

Caching and replacing an image

The blog post card above was served with cache-control: public, max-age=2592000, immutable (30 days). Facebook caches images by URL too: its documentation says a replaced image keeps showing the old one unless its URL changes. Upload a changed card as a new file instead of overwriting the old one, set it in Social share, publish, and check the head shows the new URL. Then run the URL through Facebook's debugger, as Wix's own blog article suggests, with Fetch new scrape information. The same article points to LinkedIn's Post Inspector for LinkedIn.

What properOG's audit reports for Wix

properOG's audit detects Wix from the Wix.com Website Builder generator tag, the x-wix-request-id response header or Wix's static asset host. On a Wix site the image_missing fix says where Wix sets the social image and links this guide. The findings themselves work the same on every platform.

  • image_missing: a page with no og:image. On Wix this is a main page with no site-wide image and no page image of its own, a blog post with no cover or body image, or a dynamic page whose collection has no image field.
  • image_shared: one image across different templates, typically the site-wide image used as the fallback everywhere.
  • twitter_card_small: X settings set to Small.
  • image_oversized and image_undersized: the file is over 500 KB or narrower than 1200 pixels.

Verify your fix

Publish first. Wix's steps end with publishing the site, and a change in the panel does not reach visitors, or crawlers, before that.

Read the head as a crawler does. Request the live page with a crawler user agent and print the tags:

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

Count the og:image lines and open the URL on the one you expect. Run it on a page, a blog post, a product and a dynamic item, since each takes a different route through the defaults above. To check the card itself, request its headers:

curl -sI 'https://static.wixstatic.com/media/your-image-url' \
  | grep -iE '^(HTTP|content-type|content-length|cache-control)'

Check one URL. The checker scores the card (reachability, dimensions, file size, tags) and shows how it looks on each platform. Enter your page's URL. 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 blog that is fine and a dynamic collection that is not both show up.

Refresh the networks' copies. Facebook's Sharing Debugger fetches fresh data for a URL, and LinkedIn's Post Inspector does the same. For X, follow the X card guide and allow for the week Wix says a change can take. The Facebook link preview guide and the LinkedIn guide cover the debuggers in detail.

A card worth sharing from Wix

Once the settings are right, the card is what people see. Wix's default for a main page is no image, for a product is a product photo, for a post is the cover as uploaded and for a collection item is whichever image field comes first. None of those is a share card: they are cropped for the page layout and carry no title.

The properOG generator builds a card from your site's colours and fonts and gives you a clean 1200 by 630 PNG. Upload it to the Media Manager and use it as the site-wide image, as a page's Social share image, as a post's cover, or as the collection field your Velo code or variable reads, then run the checks above.

Frequently Asked Questions

How do I change the og:image on a Wix site?

For the whole site, open Website settings in the dashboard, scroll to General social image and upload an image. For one page, open Pages & Menu in the editor, choose More Actions, then Social share, and upload an image. For a page type such as blog posts or products, use SEO & GEO, SEO Settings, Basics & social share. Publish the site afterwards: the change is not live until you do.

Why is there no image when I share my Wix page?

By Wix's documented defaults, a main page has no og:image unless you set a site-wide image or a page image, and a blog post uses its cover image, then the first image in the post. Set a General social image, give the page or post an image, publish, then fetch the URL again in the Facebook Sharing Debugger. Request the live page and check that an og:image tag is in the HTML.

Why does my Wix blog post share the wrong image?

A post with no cover image uses the first image in its body, so the picture on the card is whatever comes first. Turn on the Featured image toggle in the post's settings, add the image you want shared, and publish. Then refresh Facebook or LinkedIn's copy, since both keep what they fetched earlier.

How do I set a different social image for each CMS item on Wix?

In SEO & GEO, SEO Settings, open the dynamic item page, click Edit next to Basics & social share and use + Add Variable on the og:image field to pick a collection image field. The default is the collection's primary image, the first image field. If a variable is not enough, Velo's wix-seo-frontend setMetaTags() can set og:image per item inside onReady().

Why does Facebook still show my old Wix image?

Facebook caches an image by its URL and keeps showing the old one unless the URL changes. Upload the new card as a new file, set it in Social share, publish, and use Fetch new scrape information in the Sharing Debugger. X can take up to a week to show a change, according to Wix.

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