How to compress large images and keep the original
Oversized product photos make pages heavier than they need to be. The Large images page finds product images that are too big, shrinks them in place, and keeps a copy of each original for 30 days so you can go back. This article shows how to compress images and what changes in your store.
Before you start
- Image compression is free. You can compress up to 500 images a month.
- It works on product images only.
- You do not need to remove a storefront password. Compression works on your files in Shopify, not on the public page.
Which images are offered
The app lists product images that are visible in your store and either larger than 2 MB or wider than 4000 px. If none match, the page shows No large images.
Each image in the Large images table shows its product, a thumbnail and its dimensions.
Compress images
- In the app, select Performance.
- In the What slows your store down list, find Large images and select Compress. You can also open the Large images page directly.
- Review the Large images table.
- Select Compress N images at the top of the page. A window asks Compress N large images? and shows the total size and how many of this month's 500 images it uses.
- Confirm. A Compressing images progress bar shows how many are done. Images are processed one at a time.
When the job finishes, a message says about how many MB you saved and until what date the originals are kept. Compressed images move to the Compressed images table, which shows each size before and after.
What the app changes
| What | Result |
|---|---|
| Size | The longest side is resized to at most 2048 px, then the file is compressed |
| File format | Stays the same (JPEG, PNG or WebP) |
| File name | Not changed |
| ALT text | Stays the same |
| Variant images and image order | Stay the same |
| Camera data (EXIF) | Removed, after the picture is rotated to the right way up |
The image is replaced in place in your Shopify files. Your product keeps the same image, with the same ALT text and position.
Images the app skips
Some images are left alone. They show the badge Already small enough. This covers images where compression would save less than 10 percent, and files the app does not compress: GIF files, animated images, CMYK (print colour) images and unusual colour formats.
If an image shows the badge Couldn't compress, something failed and the badge has no message. Select History > View errors to see why.
Skipped images do not use your monthly limit. Only an image that was really compressed counts.
Where the originals go
Before an image is replaced, the app saves a copy of the original in Content > Files in Shopify admin. The copy's ALT text starts with "Sol SEO original:" followed by the file name.
The copies are kept for 30 days from the compression date. After that, the app deletes a copy only if it is not used anywhere else in your store. If restoring an image failed, the app does not delete its original automatically: it stays in Files until you delete it. If you uninstall the app before 30 days pass, the copies stay in Files.
To go back to the original, see How to restore a compressed image.
Monthly limit
You can compress 500 images a month. The side panel shows how many you used and the reset date. When you reach the limit, the page shows You've used all 500 images this month and tells you when you can compress more. Images you already compressed keep working, and you can still restore them.
[!INFO] Shopify already serves small, modern image formats to shoppers, so your speed score usually moves only a little after compression.
[!WARNING] Compression replaces the image in your store. If the replacement does not work, the app normally puts the original back by itself. If the original could not be put back at once, its copy stays in Content > Files and is not deleted automatically. If you edit a compressed image in Shopify afterwards, the app keeps your edit and does not overwrite it.
Related articles
- How to restore a compressed image
- How speed checks work
- Why can't I restore an image?
- How to see what changed and undo it in History
← Why speed checks do not run on password-protected stores How to restore a compressed image →