- Presta-Mod
- Catalogue and automation
- 0 likes
- 107 views
- 0 comments
Product images often account for much of a page's transferred data. WebP supports lossy and lossless compression, so it can reduce file size, but the result depends on quality settings and the source material. Judge the conversion on real product pages, not only by the number of generated files.
When this matters
- the catalogue contains many large JPG or PNG images
- the mobile shop downloads more data than necessary
- you want to retain source files and be able to regenerate thumbnails
How to approach the implementation
- Back up the image directory and check free disk space.
- Generate a sample for several product types.
- Compare file size, sharpness, fine text and transparency.
- Check the Content-Type header and display on mobile.
- Process the catalogue in batches after approval.
How to assess the result
Treat the implementation as successful when the user completes the full scenario without an error and staff can see the expected data in the back office. The absence of an error message alone is not enough.
Checks before going live
- back up the settings or files that will change
- test both a customer account and a guest session
- check the cart, order flow and email messages
- clear the relevant cache after the change
Apply the change in a test shop first, then run the complete scenario on desktop and mobile. Record the settings and the test result so that later updates can be compared with the same baseline.
Related PrestaShop module
PrestaShop Photo Generation Webp Pro module is used to easily generate photos in the new Webp format.WEBP files are a new format for graphics supported by many browsers. It offers better image quality than the popular JPG, PNG in relation to size. View the module: Generating Photos in WebP Pro Format [PrestaShop 1.6, 1.7, 8.x, 9x].
Next guide
Google login in PrestaShop: a shorter route to a customer account
Comments (0)