Reduce your server cost and increase scalability with S3 Image Cloud Storage Plugin!
Would you like to optimize images on your classifieds and use image format of 21st century? WebP Generator Plugin for Osclass classifieds helps you to optimize size of your images, improve loading speed of your site for customers and defacto improves user experience.
WebP Images Generator for Osclass
WebP Images Plugin simply takes every listing image on your classifieds and create it's ".webp" version.
This conversion works for JPG, JPEG, PNG and GIF listing images. Admin can select:
- Quality of WebP images (0 - 100)
- Engine used to generate WebP images (GD library by default - imagewebp function must exists, or ImageMagick if available)
- Type of images for those WebP format will be generated (thumbnail, preview, normal sizes)
Installation and setup
Initial installation is super easy. Once you've installed plugin, go to Configuration page of plugin, select quality, types of images, ... and save.
- New listings - WebP images are automatically generated on publish
- Existing listings - go to Settings > Media and simply regenerate your thumbnails. As this may be extensive process on large classifieds, we recommend to use latest version of Osclass that allows sequential images regeneration.
Plugin also allows to modify image URLs without need to modify single line of code. You can automatically replace:
- thumbnail images
- preview images
- normal images
How it works? Plugin use "filter" for resource URLs and change extension. Using only WebP images in theory may cause problems to customers using legacy/old browsers.
Advanced integration for legacy browsers
In order to provide full support to legacy browsers, plugin contains functions those generates new HTML tags using "picture" and "srcset".
<?php echo wbp_thumbnail_resource_tag()); ?>
Alternativelly, it is possible to use only functions to get ".webp" image url:
<?php echo wbp_replace_extension($link); ?>
What is WebP image and its benefits
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.
WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index.
Lossless WebP supports transparency (also known as alpha channel) at a cost of just 22% additional bytes. For cases when lossy RGB compression is acceptable, lossy WebP also supports transparency, typically providing 3× smaller file sizes compared to PNG.
Compatibility with other optimization plugins
This plugin is compatible & synergize with other plugins focusing on page speed optimization:
Note: If you are looking for legacy browsers setup, we recommend this plugin to advanced users only.
Note: Plugin require PHP 7.2 or higher and function imagewebp must exitst on your installation. Check it with your hosting provider before purchase!
For theme integration questions, please use support forums.
Product rating: 5.0 - Excellent, based on 6 reviews
Thank you very much by warir rachid on 21. Oct 2024
Working as expected by Ivan on 15. Apr 2022
MB Themes response:
great plugin by Michael on 3. Dec 2021
MB Themes response:
Speeds up your website by Marc Windey on 17. Nov 2021
MB Themes response:
All perfect by Mario on 12. Nov 2021
MB Themes response:
A very useful plugin by salesnsoft on 8. Nov 2021
MB Themes response: