-
I have tried following the advice given on this page, but the images aren’t added to the Article @type as can be seen below, they’re added to the @graph which isn’t being picked up by the schema tester. Not sure what I need to do to get the image array in the right place? Thanks.
{
"@context": "https://schema.org",
"@graph": [
[
"https://example.com/wp-content/uploads/2024/04/Slow-smoked-boned-rolled-hogget-shoulder-hogget-grilled-onions-turnips-tahini-dressing.jpg",
"https://example.com/wp-content/uploads/2024/02/mutton_pie.jpg",
"https://example.com/wp-content/uploads/2024/02/Curried-Mutton-Pie.jpg",
"https://example.com/wp-content/uploads/2024/02/Khoresh_rivas_iranian_mutton_rhubarb_stew.jpg",
"https://example.com/wp-content/uploads/2024/06/chicken_kiev.jpg",
"https://example.com/wp-content/uploads/2024/03/0A1A4412.jpg",
"https://example.com/wp-content/uploads/2024/05/chateau_bone_marrow_watercress_sauce-1.jpg",
"https://example.com/wp-content/uploads/2024/05/Ox-Heart.jpg",
"https://example.com/wp-content/uploads/2024/02/Outside-Skirt.jpg"
],
{
"@type": "Organization",
"@id": "https://example.com/#organization",
"name": "Website Example",
"logo": {
"@type": "ImageObject",
"@id": "https://example.com/#logo",
"url": "https://example.com/wp-content/uploads/2022/10/android-chrome-icon.webp",
"contentUrl": "https://example.com/wp-content/uploads/2022/10/android-chrome-icon.webp",
"caption": "Website Example",
"inLanguage": "en-GB",
"width": "384",
"height": "384"
}
},
{
"@type": "WebSite",
"@id": "https://example.com/#website",
"url": "https://example.com",
"name": "Website Example",
"publisher": {
"@id": "https://example.com/#organization"
},
"inLanguage": "en-GB"
},
{
"@type": "ImageObject",
"@id": "https://example.com/wp-content/uploads/2024/06/image-650x800-22.png",
"url": "https://example.com/wp-content/uploads/2024/06/image-650x800-22.png",
"width": "650",
"height": "800",
"inLanguage": "en-GB"
},
{
"@type": "WebPage",
"@id": "https://example.com/article/1-foolproof-lamb-ossobuco-recipe/#webpage",
"url": "https://example.com/article/1-foolproof-lamb-ossobuco-recipe/",
"name": "1 Foolproof Lamb Ossobuco Recipe - Website Example",
"datePublished": "2024-07-11T15:17:06+00:00",
"dateModified": "2024-10-10T14:54:43+00:00",
"isPartOf": {
"@id": "https://example.com/#website"
},
"primaryImageOfPage": {
"@id": "https://example.com/wp-content/uploads/2024/06/image-650x800-22.png"
},
"inLanguage": "en-GB"
},
{
"@type": "Person",
"@id": "https://example.com/author/jorge-thomas/",
"name": "Jorge Thomas",
"url": "https://example.com/author/jorge-thomas/",
"image": {
"@type": "ImageObject",
"@id": "https://secure.gravatar.com/avatar/35728faa5ba7f6ac2d51956dde064ba9?s=96&d=mm&r=g",
"url": "https://secure.gravatar.com/avatar/35728faa5ba7f6ac2d51956dde064ba9?s=96&d=mm&r=g",
"caption": "Jorge Thomas",
"inLanguage": "en-GB"
},
"worksFor": {
"@id": "https://example.com/#organization"
}
},
{
"@type": "Article",
"headline": "1 Foolproof Lamb Ossobuco Recipe - Website Example",
"keywords": "Lamb Ossobuco,Recipe",
"datePublished": "2024-07-11T15:17:06+00:00",
"dateModified": "2024-10-10T14:54:43+00:00",
"author": {
"@id": "https://example.com/author/jorge-thomas/",
"name": "Jorge Thomas"
},
"publisher": {
"@id": "https://example.com/#organization"
},
"description": "Here is a lamb ossobuco recipe that is beautiful in its simplicity and begging to be eaten al fresco with a glass of cold Sicilian white wine.",
"name": "1 Foolproof Lamb Ossobuco Recipe - Website Example",
"@id": "https://example.com/article/1-foolproof-lamb-ossobuco-recipe/#richSnippet",
"isPartOf": {
"@id": "https://example.com/article/1-foolproof-lamb-ossobuco-recipe/#webpage"
},
"image": {
"@id": "https://example.com/wp-content/uploads/2024/06/image-650x800-22.png"
},
"inLanguage": "en-GB",
"mainEntityOfPage": {
"@id": "https://example.com/article/1-foolproof-lamb-ossobuco-recipe/#webpage"
}
}
]
}
The ticket ‘Adding ACF images to an Article Schema’ is closed to new replies.