Active
Project:
Schema.org Metatag
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2025 at 22:18 UTC
Updated:
11 Dec 2025 at 11:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
youness ka commentedI ran into this same problem, but for the Article author field, where Google also expects Person.image instead of logo.
As a workaround (and a relatively clean extension of the existing API), I added an image sub-property to the organization property type via hook_schema_metatag_property_type_plugins_alter(). Since the schema_article_author tag uses property_type = "organization" and can represent either Person or Organization, this makes a new image field appear in the Author complex widget, which I can then map via Metatag tokens.
Here’s the snippet:
After clearing caches, the Author widget exposes an image field which I can set to a token for the author picture URL. The resulting JSON-LD for the author becomes: