When you share a link on Facebook, Twitter/X, LinkedIn, or Slack, the first thing people see is the link preview image. Without a compelling Open Graph image (og:image), your content gets ignored. Most WordPress sites either show the same generic image for every page or rely on the featured image alone — neither makes your content stand out in the feed.
ogdynamic is an Open Graph image generator that automatically creates professional, dynamic OG images for every page on your WordPress site. It connects to ogdynamic.com and uses your canvas templates to generate a unique social share image for each post, product, or archive — including the post title, author, excerpt, product price, categories, and more — all without slowing down your website. And when you need more than OG images, the Canvas Image block turns any canvas into ad banners, product photo cards, or social media graphics saved right in your media library.
Why Use ogdynamic?
- More clicks from social media — Eye-catching social preview images and link previews get more clicks from Facebook, Twitter/X, LinkedIn, and other platforms
- Save hours of design work — No need to manually create share images for every post or product; your OG image generator runs on autopilot
- Works with your existing setup — Compatible with popular SEO plugins like Yoast SEO, Rank Math, AIOSEO, SEOPress, and more — no duplicate og:image tags
- Set it and forget it — Configure once and every new post automatically gets its own unique Open Graph image
- eCommerce ready — Full WooCommerce support with product price, SKU, stock status, and attributes in your social media images
Features
- Dynamic Open Graph Images — Automatically generate unique OG images for posts, pages, products, and archives using your content
- Canvas Image Gutenberg Block — Generate any canvas size in the block editor — ad banners, product photo cards, social media graphics — with a live preview, and save them to your media library as PNG, WebP, or JPEG
- Facebook, Twitter/X & LinkedIn Ready — Outputs proper og:image, og:image:width, og:image:height, twitter:card, and twitter:image meta tags for rich link previews
- WooCommerce Integration — Product OG images can include title, price, regular price, sale price, SKU, currency, stock status, rating, review count, categories, tags, and attributes
- Archive Page Support — Generate social share images for homepage, blog page, category archives, tag archives, author pages, date archives, and search results
- Field Mapping — Choose exactly which WordPress data appears in each canvas field using an intuitive admin interface
- Canvas Editor — Design your own OG image templates in the ogdynamic canvas editor; the mapping selector lists all your public canvases and recommends the 1200×630 ones
- Custom Fields (ACF) — Map Advanced Custom Fields data (text, image, gallery, link, taxonomy, relationship, and more) into your OG images
- SEO Plugin Friendly — Works alongside Yoast SEO, Rank Math, AIOSEO, SEOPress, The SEO Framework, Squirrly SEO, and Slim SEO without duplicate Open Graph tags
- CDN Delivered — OG images are generated and served from ogdynamic’s fast CDN — zero impact on your WordPress server performance
- Fallback Support — Set a default template for any post type without a specific template configured
How It Works
- Connect your WordPress site to ogdynamic via secure OAuth from the admin dashboard
- Choose a template from your ogdynamic account for each content type (posts, pages, products, archives)
- Map your WordPress content fields to the template variables (title, subtitle, image, price, etc.)
- ogdynamic automatically generates the right Open Graph image for every page — no ongoing effort needed
- For other image sizes, add the ogdynamic Canvas Image block to any post or page to generate ad banners, product photo cards, or social graphics into your media library
Template Mappings
Each template has overridable fields that you map to WordPress data. For example, you can map your post title to the template’s headline field, your featured image to the background, and your author name to the byline.
Available WordPress fields by content type:
– All content types: Site name, site tagline
– Posts & Pages: Post title, excerpt, trimmed content, featured image, author name, published date, modified date, category, tags
– Products (WooCommerce): All post fields plus product short description, product price, regular price, sale price, SKU, product category, product tags, product attributes, stock status, rating, review count
– Archive pages: Site name, site tagline, plus category or tag names for their respective archives
– Custom fields (ACF): When Advanced Custom Fields is active, fields from groups assigned to the content type are listed as mapping sources
External Service
This plugin connects to the ogdynamic service at ogdynamic.com.
The service is used to:
- Authenticate your site via OAuth when you connect the plugin
- Fetch your ogdynamic account and template data in the WordPress admin
- Generate and serve dynamic Open Graph images from ogdynamic’s infrastructure
When an OG image is configured, the plugin adds the generated image URL to your page’s social meta tags. Normal site visitors do not download the OG image during a regular page load. Social platforms and link preview tools fetch the image from ogdynamic’s CDN when someone shares or previews the page URL.
An ogdynamic account is required because the image rendering work is performed by ogdynamic’s servers instead of your WordPress server.
Service links:
This plugin’s source code is available at https://github.com/ogdynamic-app/ogdynamic-wp.