Instruction Image Compress with Squeezeimg for Prestashop
Download and install
Download the plugin archive from Shop Pinta store and save it on your computer.
In the admin panel of your website, select Modules > Module manager (1).
Click the Upload a module button (2).
In the opened window, click the select file (1). Then select the plugin archive (2) and click the Open button (3).
Wait for a message about "Module installed!" and click the Configure button.
Plugin settings page Configure consists of tabs:
GLOBAL SETTINGS (1).
COMPRESS IMAGE (2).
WEBP CONVERT (3).
JP2 CONVERT (4).
LAZY LOAD (5).
IMAGES SITEMAP (6).
The GLOBAL SETTINGS tab includes:
The Status field (1) - to enable/disable the compression of images (position YES/NO).
The gzip enabled field (2) - to optimize browser speed (position YES/NO).
The Quantity limit send images field (3) - to select the number of simultaneously processed images.
The Secret Token field (4) - to enter the API key that you will receive after registering with the Squeezeimg service.
The Create token button (5) - allows you to go to the Squeezeimg service on which the API key is generated.
To receive your token, click the Create token button.
In the Squeezeimg service window that opens, click on the SIGN UP button (1) to register an account or Login (2) if you are already registered on the service.
After registration, go to the My account section (1), open Api tab (2) and click the GENERATION NEW KEY button (3). Your token is generated in the API KEY field (4).
The Plan block (5) displays the image limit, operations used and the number of days. If necessary, the limit of images can be increased if you pay for any Squeezeimg plan in the Prices section (6).
Insert the generated token from the API KEY field into the Secret Token field (1).
Depending on the format you need, using the COMPRESS IMAGE, WEBP CONVERT and JP2 CONVERT tabs, you can compress images to jpg format or compress with conversion to WebP or jp2 formats.
The COMPRESS IMAGE/WEBP CONVERT/JP2 CONVERT tabs include:
The Enable jpg/WebP/jp2 field (1) - to enable/disable converting images into the appropriate format (position YES/NO).
The Image quality field (2) - to select the image compression rate (%).
The ALL compress images block (3) - contains image counters and consists of fields:
ALL images (5) - displays the total number of images on your website.
ALL compress images (6) - displays the number of compressed images.
The MODULES compress images block (4) - displays the total number of modules images on your admin panel and the number of compressed images.
The Compress/Compress & convert button (7) - to start the process of converting your images.
The Return original button (8) - to return images to their original format.
In the Block images loading field (9) select the YES position, if after starting image compression you need to stop this process (by default, there is NO position).
In the LAZY LOAD tab, you can enable/disable the lazy load function.
If you want to load only the images displayed on the user's screen when loading the website pages, select the YES position.
This will speed up the loading of web pages and increase user loyalty.
In the Image 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.
Your website's image map is dynamically updated to help search engines find and index the actual images of your website faster.
Now your website images are optimized and much smaller.