Sep 24, 2020 in Drupal 8, Snippets

Image url is a must-have for webpages to be properly shareable on social media. With this token snippet you can set a media entity url with image style token.


This will refer to: 

  • Field image, which is a media field
  • The media entity has a field called field_media_image
  • The image style large