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.
Hello together,
is it possible to get sub-tokens belongs to the media file field? For example: thumbnail image url, video type, ...
I'am trying to get the thumbnail image URL for videos (youtube and vimeo media module) to publish the thumbnail image URL as open graph image url in the html header (with metatag module).
Perhaps I missed a possible easy way?
Comments
Comment #1
dddave CreditAttribution: dddave commentedComment #2
marktheshark CreditAttribution: marktheshark commentedI have trouble locating the field_video_url token. Could you post how you got access to it? I'm using media youtube and cannot find it in the replacement patterns. Thanks
Comment #3
AdamGerthel CreditAttribution: AdamGerthel commentedSame problem here (except for images). I've activated the "tokens" display mode for file entities, but if the field has more than one image, the result is something like:
Comment #4
wafaa.yousef CreditAttribution: wafaa.yousef commentedI have the same trouble. No update?
Comment #5
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team