Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've tried to add information about image url from product image field in og:image. In my case I use token [node:field-product:1:field-images]. But metatag with image url not available on page.
Sorry for my English.
Comment | File | Size | Author |
---|---|---|---|
#3 | no-token.jpg | 71.55 KB | Alex_eav |
#3 | og-image.jpg | 19.58 KB | Alex_eav |
Comments
Comment #2
DamienMcKennaDoes it work better if you use [node:field-product:0:field-images]? In Drupal most multi-value things start counting at zero instead of one.
Comment #3
Alex_eav CreditAttribution: Alex_eav commentedToken [node:field-product:0:field-images] was not in list that's why I used [node:field-product:1:field-images], see attached screenshot.
I've added [node:field-product:0:field-images] and now meta og:image available but without url, see second attached screenshot.