In an online shop, images are the heaviest thing and the most neglected. They are uploaded at camera size, PrestaShop generates six or seven thumbnails of each one, nobody fills in the alternative text, and when the theme changes the thumbnails come out distorted or do not appear at all. Images affect speed, ranking in Google Images and what Google understands about each product, all at once.
Below you will find how PrestaShop handles images, how to enable WebP depending on your version, when to regenerate thumbnails and how to fill in alternative text without doing it by hand across thousands of products.
How PrestaShop handles images
When you upload a product photo, PrestaShop saves the original and generates a copy for each image type defined in Design > Image Settings: the listing one, the product page one, the large one, the cart one and others. Each theme defines its own. That has three consequences:
- If you change theme, you have to regenerate the thumbnails with the new theme’s sizes.
- Every extra image type takes up space on the server for every product.
- If the theme asks for one size and the thumbnail is another, it looks blurry or distorted.

WebP and AVIF depending on your version
WebP weighs quite a bit less than JPEG at the same visual quality. In PrestaShop, support depends on the version:
- PrestaShop 8 added generation in several formats at once. The PrestaShop team’s approach was that JPEG, PNG, WebP and AVIF could be generated, with JPEG and WebP ticked by default and a fallback format for browsers that do not support them. It is configured at the bottom of
Design > Image Settings, in the generation options. - AVIF can only be enabled if the server supports it. If not, the option appears disabled with a warning.
- The theme has to serve them. PrestaShop generating WebP does not mean the theme shows them: if the theme only asks for the JPEG, the WebP sits on the server unused.
- PrestaShop 1.6 and most of 1.7 do not have it out of the box: you need a module or, better, to upgrade. We explain it in upgrading PrestaShop (in Spanish).
Every format you tick multiplies the number of files per product. More formats, more space and more regeneration time.

Want to know whether this affects your shop?
Leave us your URL. We review it and tell you what we find and what it is costing you, with no commitment.
Received. We reply within 24 working hours.
When to regenerate thumbnails, and how not to bring the shop down
They are regenerated in Design > Image Settings, with the regenerate thumbnails button. You need to do it after changing theme, changing sizes or enabling a new format. With thousands of products, regeneration can take hours and stop because of the server’s time limit. To avoid problems:
- Back up the images folder first.
- Regenerate by image type and by section (products, categories, brands), not everything at once.
- Do it at night or with the shop in maintenance mode if the catalogue is large.
- If it stops, do not relaunch with “erase previous images”: start where it left off.
Alternative text
Google calls alternative text the most important attribute of an image’s metadata, recommends that it be descriptive and in keeping with the page’s context, and that images sit near related text, because it uses captions and page content to understand what they show.
In PrestaShop, the alternative text for product photos usually comes from each image’s caption field, in the product’s images tab. If it is empty, many themes put the product name on every photo. What helps:
- Describe what you see: “brown leather bag, side view with handle”, not the product name repeated.
- A different caption for each photo.
- In large catalogues, fill it in by import or with a rule based on the name, colour and view, and review the best sellers by hand.
What changes when images are done properly

Product pages and listings load faster, especially on mobile. Photos appear in Google Images for the right search. And the server does not fill up with thumbnails from themes you no longer use.
The order of work

What size to upload
Most image problems start before PrestaShop, in the file that gets uploaded. Some guidelines that work in almost any shop:
- A fixed size for all product photos, for example 1,200 or 1,500 pixels on a side, and always the same aspect ratio. If some photos are square and others tall, listings look messy and thumbnails get cropped differently.
- The original slightly larger than the theme’s biggest image, so the large view looks sharp, but not at camera size. A 6,000-pixel photo will not look better and will make regeneration take much longer.
- Compressed before uploading. PrestaShop generates thumbnails from the original, so a huge original gives heavy thumbnails.
- Consistent background and framing across the catalogue. It is not just looks: Google Shopping and Merchant Center have requirements for product images, and a photo with text or watermarks can be rejected.
- A descriptive file name if the photo will also be used outside the catalogue, in the blog or on a content page.
How to check the state of your shop
In ten minutes you can find out how your images are doing:
- Open a product page on mobile and desktop. Do the images look sharp or blurry? Distorted?
- Right-click the main photo and open it in a new tab. Look at the file extension: if it is
.jpgand your PrestaShop generates WebP, the theme is not serving it. - Run the product page through PageSpeed Insights. If you see the warning to serve images in modern formats or to size images properly, there is room to improve.
- Look at the product page code and find the photos’
altattribute. Does it describe the photo or repeat the product name on all of them? - Go to
Design > Image Settingsand see how many image types there are. If there are types from old themes you no longer use, they keep generating files.
What breaks if you get it wrong
- Uploading 5 MB photos and trusting PrestaShop to fix it. Thumbnails are generated from that original.
- Enabling WebP with a theme that does not serve it. You use twice the space and gain nothing.
- Regenerating everything at once in a large shop and leaving it down in the middle of the afternoon.
- Using the keyword as alternative text repeated on every photo.
- Deleting image types that a module still uses.
In short
- PrestaShop generates a copy of each photo for every image type in the theme.
- WebP and AVIF are generated out of the box from PrestaShop 8, but the theme has to serve them.
- Thumbnails are regenerated in parts, with a backup and at a quiet time.
- Different alternative text for each photo, describing what you see.
- Originals at a fixed size and compressed before uploading.
When you cannot do this yourself
Filling in captions for your best sellers and checking the weight of your photos is something you can do. Adjusting image types to the theme, enabling WebP or AVIF and checking the theme serves them, regenerating thousands of thumbnails without bringing the shop down and filling in alternative text for the whole catalogue needs someone technical. It is part of what we do in PrestaShop maintenance (in Spanish).
Want to know whether this affects your shop?
Leave us your URL. We review it and tell you what we find and what it is costing you, with no commitment.
Received. We reply within 24 working hours.
Frequently asked questions
Does PrestaShop support WebP images?
Versions 8 and later can generate images in several formats, including WebP and AVIF if the server supports it. The theme also has to be ready to display them. In versions 1.6 and 1.7 you need a module or to upgrade.
When should thumbnails be regenerated in PrestaShop?
After changing theme, modifying image type sizes or enabling a new format. In large catalogues it is best done in parts and outside peak sales hours.
Where is image alternative text set in PrestaShop?
In each image’s caption, inside the product’s images tab. Many themes use it as alternative text; if it is empty, they usually repeat the product name.
Do images affect rankings?
Yes, in two ways: in page load speed and in Google Images, where alternative text and the text around the image help Google understand what it shows.
What image size is best for PrestaShop?
A fixed size for the whole catalogue, slightly larger than the biggest image the theme displays and with the same aspect ratio on every photo. Many themes work well with square originals of 1,200 to 1,500 pixels.
Can I delete thumbnails from themes I no longer use?
Yes, by removing those image types in Design > Image Settings and regenerating thumbnails. Back up the images folder first and check that no module uses those sizes.