WebP Images

WebP Images
This extension integrates WebP into OpenCart, and adds WebP images to the page if the browser supports it. Browser support for WebP is detected based on a user-agent check. If WebP support is detected, the extension will output webp format images, otherwise the original cached images(png, jpg, gif) will be displayed.

WebP images are generated with php GD library.
You need to have WebP Support enabled in GD library in order to use this module.
You can check if the webp support is enabled on your server php by: asking the hosting support or using the php functions phpinfo() or gd_info(), or just install the module and if it is not working, uninstall it.

Installation:
This is a plug and play modification without any settings.
Install it with Extension Installer and don't forget to refresh the modification cache.
The new webp images are stored in the image/cachewebp folder next to the default image/cache folder.
The webp quality is set to 90, best in most cases. If you want to change it, you have to do it in the ocmod file. In this case you have to manually clean the cachewebp folder in order to replace the cached images.

Credits:
This extension is based on a similar one with another library by my colleague from stick-design.ru
All credits goes to V. Bulgakov

What customers say about WebP Images

aaviya
Excelent extension. Works like a charm!
~aaviya
WD_Seda
thx a lot
~WD_Seda
cristianctin
Perfect out of the box. Default Theme OC 3.0.3.3. Thank you
~cristianctin




Download
  • Developed by OpenCart Community
  • Documentation Included

Rating

Compatibility
2.3.0.2, 3.0.2.0, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 2.3.0.2, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2

Last Update
25 Feb 2024

Created
26 Nov 2019
14045 Downloads
102 Comments
agatha65
agatha65
Member since: 5 Feb 2012

View all extensions Get Support