How to fix missing og image on Adobe Commerce (Magento)
Add an og:image meta tag to every page so that social media platforms and messaging apps display a rich, branded image preview whenever someone shares your store's link.
Steps for Adobe Commerce (Magento)
- In the Magento Admin, go to Stores → Configuration → Catalog → Product → set 'Product Image' as the base image for social sharing (some themes handle this automatically via the product's base_image).
- To add og:image to your theme templates, locate your active theme's layout XML or PHTML files under app/design/frontend/<Vendor>/<theme>/Magento_Catalog/templates/product/ — specifically the view.phtml or a dedicated head block.
- In your theme's default_head_blocks.xml (or equivalent), add a meta block that outputs the og:image tag using the product's getImage() helper, or add the tag directly in the page's head PHTML.
- For a faster, no-code solution, install an extension from the Magento Marketplace such as 'SEO Suite Ultimate by Mageworx' or 'Magento 2 SEO Extension by Mageplaza' — both provide UI fields for og:image on product, category, and CMS pages.
- After deploying, flush the Magento cache: System → Cache Management → Flush Magento Cache.
- Validate using Facebook's Sharing Debugger.
What is missing og image?
The og:image tag is a small snippet of HTML code placed in the invisible "head" section of your web pages. It tells social networks (Facebook, LinkedIn, Pinterest, X/Twitter, iMessage, WhatsApp, Slack, and more) which image to show when someone shares or previews a link to your page. Without it, those platforms either show no image at all, pick one randomly from your page (often a logo, icon, or a totally irrelevant graphic), or display a plain grey box — all of which look unprofessional and untrustworthy. The Open Graph protocol (the "og:" prefix) is a widely adopted web standard originally created by Facebook and now used by virtually every major platform.
When a customer shares your product page in a Facebook group, on Pinterest, or in a WhatsApp message, the link preview is often the first visual impression a new potential buyer gets — before they ever visit your site. A missing or broken og:image means that preview is blank, random, or ugly, dramatically reducing click-through rates and undermining trust in your brand. Studies consistently show that posts with compelling images receive far more clicks, shares, and engagement than text-only links. For ecommerce stores especially, a crisp product image in a shared link can directly drive impulse purchases and word-of-mouth traffic at zero extra ad spend. There is also a secondary SEO benefit: platforms like Pinterest drive significant referral traffic, and proper og:image tagging is required for Rich Pins, which surface your product price and availability alongside the image.
See the complete Missing og image guide for every platform and the full background.
Not sure if your Adobe Commerce (Magento) store has this?
Run a free SEOLZ scan — we’ll find missing og image and every other issue across your whole site.
Scan my site free