The ideal image size for og:image
is 1200x630px
.
Reading the og:image
tag values from _seoMetaTags
you get an image with a fixed width of 1000px
- This should be 1200px
. It might also be worth to consider an option on the block, that crops the image at 630px
in height. But getting the width
optimized would be a start.
The og:image:width
and og:image:height
also use the original image sizes. They should be the actual sizes of the og:image
. It might be okay if it just uses it for the aspect ratio, since that would still be correct if you just set the width
.
Use
og:image:width
andog:image:height
Open Graph tags: Using these tags will specify the image dimensions to the crawler so that it can render the image immediately without having to asynchronously download and process it.
{
"attributes": {
"property": "og:image",
"content": "https://www.datocms-assets.com/47743/1585207275-image-33-copyright.jpg?fit=max&fm=jpg&w=1000"
}
},
{
"attributes": {
"property": "og:image:width",
"content": "1920"
}
},
{
"attributes": {
"property": "og:image:height",
"content": "1080"
}
},