ImageObject metatag with token outputs only first value

Created on 29 June 2020, almost 4 years ago
Updated 21 June 2023, about 1 year ago

I have image field field_image.
I use token: [node:field_image:large:url]

Node devel:

"field_image" => array:1 [▼
"x-default" => array:2 [▼
0 => array:5 [▼
"target_id" => "38254"
"alt" => ""
"title" => ""
"width" => "814"
"height" => "667"
]
1 => array:5 [▼
"target_id" => "38256"
"alt" => ""
"title" => ""
"width" => "400"
"height" => "300"
]
]
]

But outputs only first value:

{ "@context": "https://schema.org", "@graph": [ { "@type": "ImageObject", "name": "ООО Союз Металл", "url": "http://lom-ru.localhost:8000/sites/sday_lom_rf/files/styles/large/public/field/node/office/field_image/annotaciya-2020-04-28-175904.png?itok=-l1xUFxX" } ] }
🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇺🇦Ukraine super_romeo Kiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024