Instruction Image Compress with Squeezeimg for Prestashop


Download and install


  1. Download the plugin archive from Shop Pinta store and save it on your computer.

  2. In the admin panel of your website, select Modules > Module manager (1) and click the Upload a module button (2).




  1. In the opened window, click the select file (1). Then select the plugin archive (2) and click the Open button (3).




  1. Wait for a message about "Module installed!" and click the Configure button.






Plugin page


To start configuring the plugin, you need to add in the Token for squeezeimg.com field (1) the API key generated after registration in the Squeezeimg service.

To do this, click in the Token for squeezeimg.com field on the link (2).




Next, in the Squeezeimg service window that opens, Login (3), if you are already registered with the service, or register a new account - SIGN UP (4).




After registration, go to the My account section, open the API tab (5) and click the GENERATION NEW KEY button (6) to generate the API KEY (7).




Insert the generated token from the API KEY field into the Token for squeezeimg.com field (8) on the plugin page and click the CHECK TOKEN button (9).

After checking the API key, all plugin functions will become available.




The plugin page consists of tabs - COMPRESS IMAGE, WEBP CONVERT, AVIF CONVERT, JP2 CONVERT, LAZY LOAD, IMAGES SITEMAP, COMPRESS FOLDER, CRON TASK, README.



The COMPRESS IMAGE tab includes:


  1. The Status field (1) - to enable / disable the plugin by moving the slider to YES / NO position.

  2. The Replace original field (2) - move the slider to YES position, if you want to replace the original files with converted images.

  3. The gzip enabled field (3) - move the slider to YES position, if you want to enable gzip compression for your website.

  4. The Quantity limit send images field (4) - select how many images will be sent for processing at one time.

  5. The Image quality field (5) - select a value for the compression quality.

  6. The TRY COMPRESS button (6) - for visual display of the random image in the original and processed state.

  7. The compress images block (7) - for compressing images.






The compress images block consists of:


  1. The images counter (1) - displays the total number of images on your website.

  2. The compress images counter (2) - displays the number of all compressed images.

  3. The Compress button (3) - to start compression of your images.

  4. The Return original button (4) - to return images to their original state.




The WEBP CONVERT tab includes:


  1. The Enable WebP field (1) - move the slider to YES position, if you want to display the converted images on your website.

  2. The Image quality field (2) - select a value for the compression quality.

  3. The TRY COMPRESS button (3) - for visual display of the random image in the original and processed state.

  4. The compress images block (4) - for converting images:

  • The images counter - displays the total number of images on your website.

  • The compress images counter - displays the number of all compressed images.

  • The Compress & convert button - to start conversion of your images.

  • The Return original button - to return images to their original state.




The AVIF CONVERT tab includes:


  1. The Enable Avif field (1) - move the slider to YES position, if you want to display the converted images on your website.

  2. The Image quality field (2) - select a value for the compression quality.

  3. The TRY COMPRESS button (3) - for visual display of the random image in the original and processed state.

  4. The compress images block (4) - for converting images:

  • The images counter - displays the total number of images on your website.

  • The compress images counter - displays the number of all compressed images.

  • The Compress & convert button - to start conversion of your images.

  • The Return original button - to return images to their original state.




The JP2 CONVERT tab includes:


  1. The Enable jp2 field (1) - move the slider to YES position, if you want to display the converted images on your website.

  2. The Image quality field (2) - select a value for the compression quality.

  3. The TRY COMPRESS button (3) - for visual display of the random image in the original and processed state.

  4. The compress images block (4) - for converting images:

  • The images counter - displays the total number of images on your website.

  • The compress images counter - displays the number of all compressed images.

  • The Compress & convert button - to start conversion of your images.

  • The Return original button - to return images to their original state.




The LAZY LOAD tab includes:


  1. The Lazy load field (1) - move the slider to YES position, if you want to increase the website loading speed using lazy-load images.

  2. The Lazy load images block (2) - allows you to select the option to display the loading images on your website.


You can also use an image that differs from the standard ones. To do this, add it to the specified folder (3).




In the IMAGES SITEMAP tab, a link to a feed with a complete map of your website's images is generated. Use this link for Google Search Console and Yandex.Webmaster services.

To view the generated xml file, open the link in a new browser window.

Your website's image map is dynamically updated to help search engines find and index the actual images of your website faster.






The COMPRESS FOLDER tab is designed to process the images of your website, which are located in a specific folder, and consists of:


  1. The Select folder field (1) - to select a folder, images from which you want to process.

  2. The COMPRESS button (2) - to start compression / conversion your images.

  3. The Convert Options field (3) - allows you to select the type of image processing:

  • COMPRESS - images are compressed without changing the format.

  • WEBP - images are compressed with conversion to WebP format.

  • AVIF - images are compressed with conversion to avif format.

  • JP2 - images are compressed with conversion to jp2 format.

  1. The Compression level field (4) - to select the image compression rate (LOW, EASY, HIGHT).

  2. The Reduces disk space field (5) - displays the status of replacement of original images (ON - original images will be replaced, OFF - processed images will be created in the original folder). To change the status, go to the COMPRESS IMAGE tab > Replace original.




The CRON TASK tab is designed to create a Cron task and automate the process of compressing images of your website.


This tab consists of fields:


  1. Cron type (1) - to select the type of image processing.

  2. Cron quantity (2) - to select how many images will be sent for processing at one time.

  3. Cron link (3) - the link for the Cron task is displayed.


To check how the Cron task works, open the link in the address bar of the browser.




The README tab contains instructions for configuring the nginx server.




After completing the image compression / conversion process, update your website.




The converted images are now displayed on your website.






VIDEO INSTRUCTION