The Savvy Few: How to get a Drupal image style URL from a media field in a twig template

How to get a Drupal image style URL from a media field in a twig template

There’s plenty of information on how to render a raw field value in a twig template, how to obtain the url form an image – even from a media field. The image style url from a media field however, can be quite tricky. Here’s how to do it.