Part of the Twig ecosystem · 43 projects
This module provides a Twig filter to easily convert any image to the WebP format directly within your Twig templates.
Twig WebP makes it easier to convert any image to webp format in twig.
How to use
Apply towebp twig filter to any image url in twig templates.
{{ img.url | towebp }}
Ask your assistant about Twig WebP
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Twig ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 9–10 | Feb 27, 2024 | ||
| 1.0.x-dev | Dev | 9–10 | Sep 6, 2023 |