CS-Cart Module: WebP Converter

 
$79.00
Please, specify domain name on which software will be installed. If you purchase a few licenses, specify all domain names by using comma.
csc_webp_converter

This product is electronically distributed.

Add to wish list

This addon adds ability to use WebP images in CS-Cart. This format developed by Google Inc. in 2010. It uses the newest algorithms of compression, so:

  • Quality is not lost
  • Image size is much less
  • Increases page load speed
  • Increases Google Speed rating, because usage of WebP images - one of main requirements of this service

Abilities:

  • Convert all images to WebP by one click
  • Auto convert images to WebP on upload

CAUTION!!! This action will create new WEBP images from old and DELETE all old images! Backup all store files and database before performing this action (better to make actual copy of the store with new database in the next folder, process first bulk convertation and if success rename folders to change live store to copy)! Also check write permissions for the images folder.

Make sure that you have the necessary knowledge to perform this action!

The developer is not responsible for the possible loss of data as a result of your actions!

Admin

JPG and PNG images will be converted to WebP on upload automatically.

Storefront

All images on this store were converte to WebP. You can check image format in browser console.

Go to Settings - Thumbnails page and make sure that the Thumbnail format parameter is set to same as source.

If you use the GD imagine library you have to perform the following changes

$mime = mime_content_type($path);

$resource = $mime == 'image/webp' ? @imagecreatefromwebp($path) : @imagecreatefromstring($data);


in app/lib/vendor/imagine/imagine/lib/Imagine/Gd/Imagine.php file.

To convert all images to Webp go to Modules - Convert all images to WEBP page.

CAUTION!!! This action will create new WEBP images from old and DELETE all old images! Backup all store files and database before performing this action (better to make actual copy of the store with new database in the next folder, process first bulk convertation and if success rename folders to change live store to copy)! Also check write permissions for the images folder.