yireo / magento2-webp2
yireo/magento2-webp2
Magento 2 module to add WebP support to the Magento frontend
Magento 2 module for WebP
This module adds WebP support to Magento 2. Currently, it ships with the following features:
See also:
Requesting support
Feel free to open an Issue here on GitHub. However, do make sure to be thorough. See SUPPORT.md for further details.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[Unreleased]
[0.7.3] - 29 July 2020
Added
- Magento 2.4 support
Fixed
- Numerous PHPCS issues
Added
- URL parsing via laminas/laminas-uri package
[0.7.2] - June 13th, 2020
Fixed
- Remove alt attribute from picture element (@gjportegies)
[0.7.1] - April 6th, 2020
Added
- Quick fix to allow for WebP images in catalog swatches
[0.7.0] - March 31st, 2020
Added
- Code refactoring to allow for Amasty Shopby compatibility
[0.6.2] - March 18th, 2020
Fixed
- Skip captcha images (PR from @jasperzeinstra)
[0.6.1] - March 18th, 2020
Fixed
- Do not throw error in debugging with non-existing images
- Rename "Debug Log" to "Debugging" because that's what's happening
[0.6.0] - March 7th, 2020
Added
- Skipping WebP image creation by configuration option
[0.5.2] - March 5th, 2020
Fixed
- Fix next tag not being closed properly
[0.5.1] - February 19th, 2020
Fixed
- Prevent overwriting existing
picturetags
[0.5.0] - February 11th, 2020
Added
- Upgraded rosell-dk/webp-convert library
[0.4.7] - January 31st, 2020
Added
- Add class attribute in picture (PR from itsazzad)
- Better support info
- Raise framework requirements for proper support of ViewModels
- Added logic for fetching the css class from the original image (PR from duckchip)
- Added missing variable in the ReplaceTags plugin (PR from duckchip)
[0.4.6] - November 23rd, 2019
Fixed
- Raise requirements for proper support of ViewModels
[0.4.5] - October 16th, 2019
Added
- Add check for additional layout handle
webp_skip
[0.4.4] - October 15th, 2019
Fixed
- Dirty workaround for email layout
[0.4.3] - October 4th, 2019
Added
- Add controller for email testing
Fixed
- Do not apply WebP if no handles
[0.4.2] - July 14th, 2019
Fixed
- Make sure modified gallery images are returned as Collection, not an array
- Test with Aimes_Notorama
[0.4.1] - July 2019
Fixed
- Original tag (with custom styling) was not used in
pictureelement, but new one was created instead
[0.4.0] - July 2019
Added
- Move configuration to separate Yireo section
- Add a
config.xmlfile - Changed configuration path from
system/yireo_webp2/*toyireo_webp2/settings/* - Move
quality_leveltoconfig.xml
[0.3.0] - 2019-05-02
Fixed
- Fix issue with additional images not being converted if already converted (@jove4015)
- Fix issue with static versioning not being reckognized
- Make sure src, width and height still remain in picture-tag
Added
- Integration test for multiple instances of same image
- Add fields in backend for PHP version and module version
- Integration Test to test conversion of test-files
- Throw an exception of source file is not found
- Add provider of dummy images
- Add integration test of dummy images page
- Add test page with dummy images
- Only show original image in HTML source when debugging
[0.2.0] - 2019-04-28
Fixed
- Fix issue with additional images not being converted if already converted
- Make sure to enable cookie-check whenever FPC is enabled
Added
- Actual meaningful integration test for browsing product page
[0.1.1] - 2019-04-12
Fixed
- Disable gallery fix if FPC is enabled
[0.1.0] - 2019-04-12
Added
- Add GD checker in backend settings
[0.0.3] - 2019-03-21
Fixed
- Fix for Fotorama gallery
- Check via timestamps for new and modified files
Added
- Check for browser support via cookie and Chrome-check
- Inspect ACCEPT header for image/webp support
- Implement detect.js script to detect WebP support and set a cookie
- Add configuration values
[0.0.2] - 2019-03-20
Added
- Temporary release for CI purpose
[0.0.1] - 2019-03-20
Added
- Initial commit
- Support for regular img-tags to picture-tags conversion
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 0.14.3 | stable | Fail | 2024-10-24 12:32:40 |
| 0.14.2 | stable | Not tested | 2024-08-23 14:48:58 |
| 0.14.1 | stable | Not tested | 2024-08-23 09:40:26 |
| 0.14.0 | stable | Not tested | 2024-06-20 07:14:17 |
| 0.13.5 | stable | Not tested | 2024-05-06 05:50:54 |
| 0.13.4 | stable | Not tested | 2024-04-04 13:17:39 |
| 0.13.3 | stable | Not tested | 2023-09-22 10:39:08 |
| 0.13.2 | stable | Not tested | 2023-09-06 15:16:56 |
| 0.13.1 | stable | Not tested | 2023-09-06 15:00:11 |
| 0.13.0 | stable | Not tested | 2023-08-30 09:27:21 |
| 0.12.5 | stable | Not tested | 2023-03-19 13:22:35 |
| 0.12.4 | stable | Not tested | 2022-09-13 17:04:46 |
| 0.12.3 | stable | Not tested | 2022-08-20 14:10:31 |
| 0.12.2 | stable | Not tested | 2022-07-21 04:59:59 |
| 0.12.1 | stable | Not tested | 2022-06-02 10:17:32 |
| 0.12.0 | stable | Not tested | 2022-05-04 15:22:20 |
| 0.11.4 | stable | Not tested | 2021-08-23 07:24:30 |
| 0.11.3 | stable | Not tested | 2021-08-23 07:21:18 |
| 0.11.2 | stable | Not tested | 2021-08-11 15:26:59 |
| 0.11.1 | stable | Not tested | 2021-08-10 13:45:24 |
| 0.11.0 | stable | Not tested | 2021-08-09 09:28:01 |
| 0.10.11 | stable | Not tested | 2021-07-15 15:00:14 |
| 0.10.10 | stable | Not tested | 2021-07-07 07:17:59 |
| 0.10.9 | stable | Not tested | 2021-06-24 14:38:00 |
| 0.10.8 | stable | Not tested | 2021-06-24 14:13:08 |
| 0.10.7 | stable | Not tested | 2021-05-06 05:31:32 |
| 0.10.6 | stable | Not tested | 2021-04-02 17:53:14 |
| 0.10.5 | stable | Not tested | 2021-03-09 07:04:20 |
| 0.10.4 | stable | Not tested | 2021-02-15 12:45:39 |
| 0.10.3 | stable | Not tested | 2021-02-12 15:57:55 |
| 0.10.2 | stable | Not tested | 2021-02-12 15:51:30 |
| 0.10.1 | stable | Not tested | 2021-02-11 13:42:27 |
| 0.10.0 | stable | Not tested | 2021-01-28 10:32:32 |
| 0.9.6 | stable | Not tested | 2021-01-22 15:01:34 |
| 0.9.5 | stable | Not tested | 2020-12-03 07:44:42 |
| 0.9.4 | stable | Not tested | 2020-12-03 06:43:19 |
| 0.9.3 | stable | Not tested | 2020-12-02 18:02:15 |
| 0.9.2 | stable | Not tested | 2020-11-30 17:24:00 |
| 0.9.1 | stable | Not tested | 2020-11-30 17:10:21 |
| 0.9.0 | stable | Not tested | 2020-11-30 15:06:38 |
| 0.8.0 | stable | Not tested | 2020-11-30 14:03:39 |
| 0.7.7 | stable | Not tested | 2020-11-04 12:37:07 |
| 0.7.6 | stable | Not tested | 2020-08-19 08:43:04 |
| 0.7.5 | stable | Not tested | 2020-08-13 06:26:33 |
| 0.7.4 | stable | Not tested | 2020-08-03 10:48:38 |
| 0.7.3 | stable | Not tested | 2020-07-29 09:39:00 |
| 0.7.2 | stable | Not tested | 2020-06-13 17:10:11 |
| 0.7.1 | stable | Not tested | 2020-04-06 12:37:18 |
| 0.7.0 | stable | Not tested | 2020-03-31 08:10:19 |
| 0.6.2 | stable | Not tested | 2020-03-18 18:16:35 |
| 0.6.1 | stable | Not tested | 2020-03-18 07:45:51 |
| 0.6.0 | stable | Not tested | 2020-03-07 07:30:16 |
| 0.5.2 | stable | Not tested | 2020-03-05 07:03:27 |
| 0.5.1 | stable | Not tested | 2020-02-19 16:03:38 |
| 0.4.7 | stable | Not tested | 2020-01-31 06:35:40 |
| 0.4.6 | stable | Not tested | 2019-11-23 13:45:01 |
| 0.4.5 | stable | Not tested | 2019-10-16 09:55:02 |
| 0.4.4 | stable | Not tested | 2019-10-15 16:16:37 |
| 0.4.3 | stable | Not tested | 2019-10-04 10:57:18 |
| 0.4.2 | stable | Not tested | 2019-07-14 09:38:27 |
| 0.4.1 | stable | Not tested | 2019-07-10 09:38:43 |
| 0.4.0 | stable | Not tested | 2019-07-08 12:30:14 |
| 0.3.0 | stable | Not tested | 2019-05-02 16:50:02 |
| 0.2.0 | stable | Not tested | 2019-04-28 11:18:12 |
| 0.1.1 | stable | Not tested | 2019-04-12 10:08:45 |
| 0.1.0 | stable | Not tested | 2019-04-12 09:54:41 |
| 0.0.3 | stable | Not tested | 2019-03-21 14:24:19 |
| 0.0.2 | stable | Not tested | 2019-03-20 17:20:25 |
| 0.0.1 | stable | Not tested | 2019-03-20 15:34:38 |
Requires 12
| Package | Constraint |
|---|---|
| yireo/magento2-next-gen-images | ~0.3 |
| yireo/magento2-csp-utilities | ^1.0 |
| magento/framework | ^101.0.1|^101.1|^102.0|^103.0 |
| magento/module-backend | ^100.0|^101.0|^102.0 |
| magento/module-config | ^101.0 |
| magento/module-store | ^101.0 |
| rosell-dk/webp-convert | ^2.0 |
| psr/log | ^1 || ^2 || ^3 |
| php | >=7.4.0 |
| ext-json | * |
| ext-pcre | * |
| ext-gd | * |
Requires-dev 4
| Package | Constraint |
|---|---|
| phpunit/phpunit | ^9.0|^10.0|^11.0 |
| phpstan/phpstan | ^0.12.32 |
| bitexpert/phpstan-magento | ^0.3.0 |
| yireo/magento2-integration-test-helper | ^0.0.8 |
No QA results yet
QA pipelines haven't run for this version. Status appears here once the vendor publishes a tagged release that gets ingested.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.