Dynamic Open Graph Images for Webflow CMS Templates

Add an Image field to your Collection. Then open the Collection page settings, go to Open Graph settings and pick that field as the image. Each item will share its own image. Webflow's article describes only manual selection, so it does not generate the images for you.

Read time:
2 minutes
Author:
Nemanja Hrnjez
Published:
November 24, 2026
Dynamic Open Graph Images for Webflow CMS Templates

Is your Webflow site slow, costly or hard to find?

Send me your site

Why it matters

Open Graph tags control how a link looks when someone shares it on social platforms. Webflow says that with no settings, random content or no content may appear.

Webflow says Open Graph tags cannot be set globally. They apply only to the page where you set them. On a CMS template, one setting covers every item in the Collection.

One setup gives every post, product or resource its own preview. But a template only works as well as its data. A missing image means a weak preview.

How to check it

  1. Open the Collection page settings. Go to the Pages panel, open the Collection page and then Page settings. Look at Open Graph settings.
  2. Check for an Image field. Webflow says Collection pages without an Image field cannot have an Open Graph image.
  3. Check every item. Open the Collection. Look for items with an empty image field.
  4. Check file types. Webflow says Open Graph images must be JPG or PNG. It says AVIF and WebP are not supported, and the asset picker shows only JPG and PNG.
  5. Check dimensions. Webflow says all Open Graph images in a Collection must share the same dimensions.
  6. Check the title and description. See whether they use fields or fixed text.
  7. Test a live link. Paste a published item URL into the Facebook Sharing Debugger and LinkedIn Post Inspector. For X, Webflow says the validator no longer shows the preview, so use the Tweet Composer.

How to fix it in Webflow

  1. Add an Image field. In the Collection settings, add an Image field. Name it clearly, such as "Social image."
  2. Choose one size. Webflow cites Facebook's recommendation of a width of at least 1080 px. Its head code example uses 1200 by 630. It does not state an aspect ratio. Pick one size and use it everywhere.
  3. Save as JPG or PNG. Do not use AVIF or WebP for these images.
  4. Fill the field for every item. Upload one image per item. Webflow does not say what shows when the field is empty, so do not leave it blank.
  5. Select the field. In the Collection page's Open Graph settings, open the image dropdown. Choose your Social image field.
  6. Map the title and description. Click Add field and choose a Collection field. Or check the boxes that pull from your SEO title and meta description.
  7. Add image dimensions in head code if needed. In Site settings, go to Custom code, then Head code. Add og:image:width and og:image:height meta tags. If sizes vary by page, use Page settings, Inside head tag. Custom code needs a Core, Growth, Agency or Freelancer Workspace, or a site with an active Site plan.
  8. Do not compress linked images. Webflow says this applies when you paste an image link.
  9. Publish.
  10. Debug the first share. Paste the URL into the Facebook Sharing Debugger and click Debug. Click Scrape Again to refresh old data. Webflow says you must be logged in to Facebook.
  11. Check LinkedIn. Paste the URL into Post Inspector and click Inspect. You can request a re-scrape.
  12. Expect caching. Webflow says the first preview can miss the image. It suggests removing and re-adding the link in your post. It gives no cache durations.

Checklist

  • The Collection has an Image field.
  • Every item has an image filled in.
  • All images are JPG or PNG.
  • All images share the same dimensions.
  • The field is selected in Open Graph settings.
  • Title and description use fields or SEO values.
  • Images were not compressed after linking.
  • The site was published.
  • The Facebook debugger shows the right preview.
  • LinkedIn and X previews were checked.

FAQ

Can Webflow create Open Graph images automatically?

Webflow's Open Graph article describes only manual selection or a pasted image URL. It does not say that Webflow generates images. Making one image per item is a design task or a tool outside this article.

Can I use WebP or AVIF?

No. Webflow's Open Graph article says AVIF and WebP are not supported. The asset picker shows only JPG and PNG. Use JPG or PNG.

Why does my old image still show when I share?

The platform may have cached it. Run the URL through the Facebook debugger and use Scrape Again. For LinkedIn, request a re-scrape in Post Inspector.

Dealing with this on a live Webflow site? It is the kind of work I do in Webflow SEO and AEO. Send me your site and I will tell you what I would fix first.

← All articles

Start with what's wrong.

Send your site URL. I'll reply within one business day with what I'd fix first.