Image Compress with Squeezeimg for OpenCart (v. 1.5*-4.*)
The Image Compress with Squeezeimg extension helps to optimize all your images and improve the performance of your website
Tags: image, images, IMG, OpenCart, compress, convert, reduce, resize, image size, image optimization, minimize, Squeezeimg, jpg, jpeg, png, gif, svg, bmp, tiff, webp, avif, jp2, gzip, lazy load, cron, cdn
Use the Image Compress with Squeezeimg extension to optimize the size of your website's images, speed up the page loading, free up the space for storing data on the server and increase your ranking in search engines such as Google, Yandex, etc.
The Image Compress with Squeezeimg extension uses functions of the Squeezeimg Image Optimizer, including using a CDN server. You can compress / convert images without visible quality loss or with loss to quickly minimize the size of your images.
How does it work?
Install the Image Compress with Squeezeimg extension to your website.
You DON'T NEED to install ANY OTHER extensions and libraries!!!
Also register your Squeezeimg account (https://squeezeimg.com) and generate an API key to use on your website. You can use 1000 images per month for FREE, or you need to pay for any Squeezeimg Image Optimizer plan to use more images.
Then Image Compress with Squeezeimg extension will do all the image optimization for you!
Fast compression and conversion of images without visible quality loss using the Squeezeimg service. This feature minimizes the size of all your images and increases the loading speed of your websites and applications. On average, images are compressed by 50 - 80 % and pages of a website or application load much faster.
You can use the extension to compress images of any size and the most popular formats - PNG, JPG, JPEG, GIF, SVG, BMP, TIFF.
Also the extension allows you to convert images to webP, AVIF and jp2 format. After conversion, your images are reduced by 50 % compared to the original images.
And you can apply compression / conversion only for specific folders with images. This helps to use the image limit efficiently.
With one API key, you can compress and convert up to 1000 of your images every month for FREE.
If that's not enough for you, you can choose and pay for a suitable Squeezeimg Image Optimizer plan (check out all pricing at https://squeezeimg.com/pricing).
You can use Lazy Load as an additional way to reduce page's loading time and improve overall website performance.
Lazy Load defers loading of ALL your images not just catalog images. For example, images of logo, cms, module, theme, etc.
Also, with this extension, you can create a complete sitemap with images as an XML file in a few seconds and upload it to Google Search Console, Yandex.Webmaster.
This allows search engines - Google, Yandex - to quickly find and crawl all images of your website, including those recently added or updated.
So it increases the ranking of your website and improves its SEO.
If you want to automatically compress / convert your images, you can set up the CRON task.
This feature allows you to automatically process images at a specified time and save you time.
Apply the Image Compress with Squeezeimg extension and:
- Increase website / application loading speed and improve SEO rank.
- Reduce used disk space and improve performance of website / application.
- Improve the loyalty of your customers by making your pages load faster.
ATTENTION!!! For the extension to work correctly, you must take into account that:
- The extension works on servers under Apache2, Nginx.
- The extension does not work with Microsoft IIS without the Rewrite module.
- The extension will not work if you have activated the Pagespeed Module from Google.
- The extension is compatible with themes such as Journal2, Journal3 and others.
- Possible conflict with the OpenCart Lightning plugin. To resolve the conflict, you need to make changes to the DIR_APLICATION file (controller / extension / lightning / zero.php) - replace the text "php html htm xml yml" with "jpg jpeg png php html htm xml yml".
- Compresses images (PNG, JPG, JPEG, GIF, SVG, BMP, TIFF).
- Converts images to WebP, AVIF and jp2 format and reduces their size.
- Minimizes an unlimited number of images.
- Allows you to select the needed options for compression / conversion.
- Reduce used disk space.
- Saves original images, if necessary.
- Adds GZIP compression for the server.
- Uses Lazy Load for images.
- Allows you to select a specific folder with images for compression / conversion.
- Generates a complete sitemap in an XML file.
- Optimizes images using CDN servers.
- Automatically compresses / converts images by starting the CRON task.
- Download and install the extension;
- Register your Squeezeimg account;
- In the extension settings, add the API key that generated in the Squeezeimg service;
- Select the parameters for image compression / conversion;
- Enable the Lazy Load function (if necessary);
- Use a complete sitemap with images as an XML (if necessary);
- If necessary, compress / convert only those images that are saved in a specific folder;
- Apply image handling via CDN servers;
- Configure automatic CRON operation (if necessary);
- Use the detailed instructions for configuring nginx server (if necessary);
- Optimize images;
- As a result, the optimized images are added to your website.
## 1.5.2
* Adding a cdn token field
* Adding a webp checkbox
* Removing unnecessary events and modifications
* Initializing the images object in the $this->images_compress property (v 4)
* Filling the squeezeimg_log_storage table when installing the module
* Improved functionality for loading to cdn and output to the front
* Adding functionality for updating the list of images
* Change the getCDNLink method
* Correcting translations
* Change version
* Fixed a bug where image links changed even if cdn was disabled (v 2.3-4)
* Fixing a bug in the fillingStorageTable method
* Adding a qualifying field for a domain
* Creation of archives
* Removed vertical alignment of label domain (v 4)
* Fixing compression option display errors
* Fixing a bug in the deleteImages method (v 4)
* Fixed a bug where compression did not work if the image path contains images_compress_squeezeimg
* Improved compression and conversion functionality for folders
* Adding error output when converting a folder
* Creation of archives
* Added link opening in a new window when going to Squeezeimg.com
* Fix conversion error if file does not exist
* Replacing cotinue with break if the timer has expired in the cdnCron method
* Adding mime type image/svg+xml in cdnCron method
* Removing entries from the squeezeimg_log_storage table if the file does not exist
* Creation of archives