Introduction
- WebP is a modern image format that provides superior lossless and lossy compression for images on the web.
- Using WebP, webmasters and web developers can create smaller, richer images that make the web faster.
- Solve the problem you encounter when the system automatically optimizes the images you upload to the website such as:
* Image quality after upload is degraded.
* The image after uploading is unusually larger than the original image. (Reference: https://github.com/odoo/odoo/issues/61619#issuecomment-1241701494)
Key Features
- Upload WebP images.
- Preview WebP images in backend.
- Convert newly uploaded images to WebP on uploading using the existing Web Media Editor.
- Convert existing images to WebP using WebP Conversion Wizard which is accessible via:
- A dedicated menu entry: Settings > Technical > Database Structure > Convert Attachment Images to WebP.
- Attachment List View's Action menu: Settings > Technical > Database Structure > Attachments.
- New access group named WebP Conversion was added to allow the users in this group to be able to use WebP Conversion Wizard.
- Integrating this module will enable you to choose whether to use auto-optimization or not.
Benefits
- Enhanced Website Performance:** Optimize image sizes to improve page loading speed and user experience.
- Superior Image Quality:** Eliminate common issues such as degraded quality or oversized images after upload.
Who Should Use This Module?
This module is ideal for:
- E-commerce Businesses
- Content Creators
- Website Administrators
Known Issues
- Converting (.svg) to WebP is not yet supported.
Editions Supported
- Community Edition
- Enterprise Edition
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
Thông báo bản quyền và chấp thuận nêu trên buộc phải được bao gồm trong tất cả các bản sao hoặc các phần quan trọng của Phần mềm.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.