Token does not return full dynamic path to Media Image URL
Would you believe:
node -&gt; media field -&gt; media entity -&gt; image field -&gt; image style -&gt; url
Makes sense, right? (I mean, it makes sense if you understand core Media and Entity References.)
As a Token, it looks like this:
[node:field_hero_image:entity:field_media_image:large:url]
Not exactly intuitive, but it makes sense in hindsight. The Media field is an entity reference to a Media entity containing an Image field that can be rendered in a variety of Image styles, so the token chain goes all the way down that rabbit hole.
This approach generates a valid image URL in the header meta tags.
Of course, AddToAny is still not picking up the metadata when I share a Twitter card ... but that's a different issue!
Just pointing out to nobody in particular that this Token does not show up in the Node section of the &quot;View available tokens&quot; box. ¯\_(ツ)_/¯