A sharp source photo gives you room to crop, but sending the same full-resolution file to every shopper wastes bandwidth. Start by deciding where each image will appear: a product grid, a detail page, or a zoom view.
1. Set the crop before exporting
Use a consistent aspect ratio and leave similar space around each item. Compare a row of products at thumbnail size to catch items that look too small or sit too low in the frame.
2. Serve sizes that match the layout
Create multiple widths and use srcset and sizes so the browser can choose one. Keep the larger image available for the zoom view. Test WebP or AVIF on examples with fine texture and hard edges before setting a compression level for the whole catalog.
3. Reserve space and load images in order
Set image width and height so the browser can reserve space. Keep the main above-the-fold product photo out of lazy loading. Use loading="lazy" for images well below the fold.
4. Check the storefront on a narrow screen
In browser DevTools, disable the cache and reload at a mobile viewport. Inspect the image requests, then open the product zoom to make sure fine details are still visible.
Quick quality checklist
- Consistent crop and product scale
- Clean edges and natural shadows
- Correct color and white balance
- Responsive image sizes
- Reserved layout dimensions
- Lazy loading only below the fold
- Zoom image checked for fine detail
AI disclosure: This article was created with AI assistance and reviewed before publication.