CMS plugin
Add MyOG.social images to published EmDash pages that have no image of their own, with the sandboxed @myog.social/myog plugin from the EmDash registry.
The MyOG.social plugin, @myog.social/myog, gives each published content page its own social image without designing one per page. When a page has no image of its own, the plugin adds og:image, twitter:image and twitter:card tags. MyOG builds the image from the page's public URL, content and branding.
An image an author chose always wins. If the page has an image in EmDash's SEO panel, or the template supplies the entry's own image, the plugin adds nothing. On every other published content page, the MyOG image replaces the site-wide default social image from your site settings.
The plugin is free and MIT licensed; the images are not. MyOG serves an image only for a registered hostname on an account with credits, and each new render uses one credit. Without them, MyOG returns an error, and link previews show a broken image instead of your site default.
The plugin only writes meta tags. It needs no API key or secret, declares no network hosts and makes no requests. Its one permission, content:read, lets it ask EmDash for the published URL of the page being rendered, which is how it skips drafts and previews.
MyOG detects page content and branding automatically. The layout only controls image composition.
Enter these values on the plugin's settings page. Replace the example hostname with the exact hostname you added in MyOG.
Preview anonymously. Sign in to get complete install code for your account.
Sign in to get install codeThe account ID is the a= value from your MyOG install code. MyOG uses it to email you if the hostname isn't registered yet. Whether an image is served depends on your registered hostname and credits.
EmDashHead keeps the first og:image it receives, and the plugin's tag comes before the site default, so the site default is dropped on pages the plugin covers. The plugin never adds a tag when the page has its own image. An og:image written by hand into your layout, outside EmDashHead, is not checked; remove it if the rendered page has two.
Each published content entry without its own image gets a MyOG image URL. The plugin builds it from the configured hostname and the entry's published path, never from the request's Host header, and drops any query string or fragment. The whole page URL is encoded once as the url value. New entries are covered as soon as they are published.
Start with the MyOG Open Graph Checker, then refresh social platform caches if needed.
Add your EmDash site's hostname in MyOG, then start the card trial to serve images.
Already have an account?
4a02f775f4f425d12754f6c7911b68e2f3cc7713