How to handle multiple image sizes?
In the Organization
I have the same image with three different aspect ratios: 1:1
, 16:9
, 4:3
How is the correct way to add them in the JSON Linked Data format?
{
"@type": "Organization",
"image": [{
"@type": "ImageObject",
"width": 1200,
"height": 900,
"url": "https://domain/img_16_9.png"
},{
"@type": "ImageObject",
"width": 1200,
"height": 1200,
"url": "https://domain/img_1_1.png"
}]
}
I have the same in the Product
property. How to add the same image to each product but in three different aspect ratios?
2
Answers
I do like this:
If you have the same image in different aspect ratios for multiple products, you can use the same approach as with the Organization schema and create an array of
ImageObject
for each product with the corresponding aspect ratios:Note that the
width
andheight
properties should correspond to the dimensions of the respective image, and not necessarily to the aspect ratio.