Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use SVG as og:image

People also ask

Can we use SVG for OG image?

As of Jan 14, 2021, Facebook's Sharing Debugger at developers.facebook.com/tools/debug emits a warning: Unsupported Image File Extension — Provided og:image URL, https://example.com/og_image.svg does not have a supported extension.

Does Open Graph support SVG?

Does not support SVG images. The Open Graph Object Debugger will say it is not an image.

How do I give an image a OG property?

Go to the editor for a post or page, then scroll down. You should see a Yoast SEO box. Hit the “Social” tab, then “Facebook.” Fill this in to set the og:title , og:description , and og:image tags.

What is OG image alt?

og:image:alt - A description of what is in the image (not a caption).


OpenGraph does not support .svg as images

http://indiewebcamp.com/The-Open-Graph-protocol#Does_not_support_SVG_images


As of May 2014, Facebook does not formally define what images they support (you can read their best practices here), though the implication by the optimal sizes (1200 x 630 pixels for high resolution devices and 600 x 315 pixels for standard resolution devices) is that the image must be a raster format.