This project is not covered by Drupal’s security advisory policy.

This module adds a new twig command
"image_style_url".

It works like the "file_url" command but allows an image style to be chosen.

So for example the following code outputs a url using the "mystyle" image style.
{% set backgroundUrl = image_style_uri(content.field_image.0['#item'].entity.uri.value,'mystyle') %}

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • Created by Denis Danielyan on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases