The author
Егор
Packages
4
Downloads
323
Usually answers within 24 hours
Автор дополнения
Packages
4
Downloads
323
Usually answers within 24 hours
Version 1.0.6-pl
Release date 10.28.2023
Downloads 180
Views 805
Warning! This component requires PHP version 8.0 or higher! If your site uses PHP less than required, the installation of this package could break it.

This add-on is designed to convert jpg, jpeg, gif and png images to webp format if the browser supports it.


WebP is a file format developed by Google in 2010. Its feature is an advanced compression algorithm that allows you to reduce the size of the image without visible loss in quality.


Main advantages
  • The add-on does not need additional settings and starts working immediately after installation;
  • The extension itself finds links to images in HTML and converts them to webp;
  • Cache support. The image is converted 1 time and stored in the cache. On further downloads, the image is taken from the cache

We need the CURL library installed on the server and the corresponding PHP extension!

1.0.0

  • Initial release.

1.0.1

  • Fix broken links.

1.0.2

  • Add user friendly image name.

1.0.3

  • Change dom parser.
  • Change cached images links

1.0.4

  • Change cache clear function.
  • Add data-bg finder

1.0.5

  • Change link parser
  • Add php 8 support
  • Add MODX 3 support

1.0.6

  • Change browser validator