yireo / magento2-webp2-graph-ql
Add GraphQL support to Yireo Webp2 for Magento 2
Package info
github.com/yireo/Yireo_Webp2GraphQl
Type:magento2-module
pkg:composer/yireo/magento2-webp2-graph-ql
1.0.6
2026-11-25 16:56 UTC
Requires
- php: >=8.2 <8.6
- magento/framework: ^103.0
- magento/module-catalog-graph-ql: ^100.4
- magento/module-graph-ql: ^100.4
- yireo/magento2-next-gen-images: ~0.5.17
- yireo/magento2-webp2: ^0.14
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Magento 2 module for extending Yireo Webp2 with GraphQL support
Installation
composer require yireo/magento2-webp2-graph-ql bin/magento module:enable Yireo_Webp2GraphQl
Usage in GraphQL
For every regular image URL, append a _webp variant to your query:
query { products(search:"a", pageSize: 1){ items { sku name media_gallery { url url_webp } } } }