Welcome to the Magento 2 WebP Image Optimizer repository! This module allows you to optimize images in your Magento 2 store by converting them to the WebP format. WebP images are smaller and faster, improving your website's performance and user experience.
In the world of eCommerce, speed matters. Customers expect fast-loading pages, and search engines reward quick sites with better rankings. This is where the Magento 2 WebP Image Optimizer comes into play. By converting your images to WebP format, you can significantly reduce file sizes without sacrificing quality.
WebP is a modern image format that provides superior lossless and lossy compression for images on the web. This module integrates seamlessly with Magento 2, making it easy to manage your images.
- Image Conversion: Automatically convert JPEG and PNG images to WebP format.
- Performance Boost: Improve page load times and overall site performance.
- SEO Friendly: Enhance your site's SEO by improving loading speed.
- Easy Integration: Simple installation and configuration.
- Free to Use: This module is available for free, allowing you to optimize your store without any cost.
To install the Magento 2 WebP Image Optimizer, follow these steps:
-
Download the latest version from the Releases section.
-
Extract the downloaded file.
-
Upload the contents to your Magento 2 root directory.
-
Run the following commands in your terminal:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:clean php bin/magento cache:flush
This process will install the module and make it ready for use.
Once installed, the module will automatically convert images uploaded to your Magento store into WebP format. You do not need to perform any additional steps for existing images; the module will handle the conversion in the background.
If you want to convert existing images, you can do so by following these steps:
- Navigate to the Media Gallery in your Magento admin panel.
- Select the images you wish to convert.
- Click on the "Convert to WebP" button.
The module will process the images and save the WebP versions.
You can configure the module settings in the Magento admin panel:
- Go to
Stores>Configuration. - Find the
WebP Image Optimizersection. - Adjust the settings as needed.
- Enable Module: Turn the module on or off.
- Quality: Set the quality of the WebP images (0-100).
- Conversion Method: Choose between automatic or manual conversion.
We welcome contributions to the Magento 2 WebP Image Optimizer! If you want to help improve this module, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear messages.
- Push your changes to your forked repository.
- Submit a pull request.
Please ensure that your code follows the coding standards for Magento 2.
This project is licensed under the MIT License. You can find the full license text in the LICENSE file.
If you encounter any issues or have questions about the Magento 2 WebP Image Optimizer, please check the Releases section for updates. You can also open an issue in the GitHub repository.
The Magento 2 WebP Image Optimizer is an essential tool for any eCommerce site looking to improve performance and user experience. By optimizing images in your store, you can ensure faster load times and better SEO rankings.
Thank you for using the Magento 2 WebP Image Optimizer! We hope it helps you achieve your eCommerce goals.