What is image quality?
PrestaShop is software for running an online shop. When you upload a product photo, it makes several smaller copies for lists, product pages and thumbnails. Compression is how it shrinks those copies. Higher quality gives a sharper picture but a bigger file. Lower quality gives a smaller file that loads faster. You can pick the balance.
The menu names differ a little between versions. Look for the closest match if yours looks different.
Steps
Take a backup of your shop before you change image settings.
- Log in to your PrestaShop admin panel.
- Go to Design then Images. On older versions it is Preferences then Images.
- Find the section called Images generation options (or Image generation options).
- Look for JPEG compression. Enter a number from 1 to 100. A higher number means better quality. Many shops use a number in the range of 80 to 90.
- Look for PNG compression. This is a scale from 0 to 9. A higher number means more compression.
- Set Generate images based on one side of the source image and Maximum file size of product pictures if you want to limit very big uploads.
- Click Save.
Regenerate your thumbnails
The new settings only apply to new pictures. To fix old ones, make them again.
- On the same Images page, find the Regenerate thumbnails section.
- Choose Products from the list.
- Choose All image types, or a single one.
- Click Regenerate thumbnails.
Warning: tick the option to erase previous images only if you have a backup. Otherwise, leave it off.
Check the result
- Open a product page on your shop.
- Look at the picture. Is it clear enough?
- Clear the cache in Advanced Parameters then Performance, so you see the newest version.
Quick recap
- Quality controls the balance of sharpness and speed.
- Change JPEG and PNG compression on the Images page.
- Regenerate thumbnails to apply it to old pictures.
- Clear the cache and look at your product pages.