How to restore a compressed image
When the app compresses a product image, it keeps a copy of the original in your Shopify Files for 30 days. During that time you can put the original back. This article shows the two ways to restore, what happens when you do, and what stops a restore from working.
Before you start
- You can restore an image for 30 days after it was compressed. After that the Restore button is replaced by Restore no longer available, and the app deletes the original unless it has a reason to keep it (see below).
- Another task may be running for your store. If so, wait until it finishes and try again.
- The restore returns the original file. Its ALT text stays the same.
Restore one image from Large images
- In the app, select Performance, then open the Large images page.
- In the Compressed images table, find the image. The table shows its size before and after compression.
- Select Restore on that row.
- In the Restore the original image? window, check the size of the original file and select Restore original.
A message Original image restored confirms the result. The image leaves the Compressed images table and goes back to the Large images table at its original size.
Restore from History
Every compression is also recorded in History, in the Images category.
- Select History and open the change that compressed your images.
- Select Undo change and confirm.
Undo restores every image of that change that can still be restored. Items you changed in Shopify after compression keep their current version and show Edited after, kept. This label also shows when the app can no longer restore the original. Items that could not be restored are listed, and you can open the undo to see why and try again. Undo is available for 30 days.
For more about History, see How to see what changed and undo it in History.
What a restore changes
| What | Result |
|---|---|
| Image file | The original file replaces the compressed one |
| ALT text | Not changed |
| File name | Not changed |
When you can no longer restore
| What you see | What it means |
|---|---|
| Restore no longer available | The app can no longer restore the image, for example because more than 30 days passed. The copy is deleted from Files after 30 days unless the app kept it (see below) |
| You can restore an original for 30 days. The app can no longer restore this one. | The same, shown when you try to restore through the app |
| This image was changed in Shopify after compression, so we kept it. | The image was edited or replaced after compression, so the app does not overwrite your change |
| This image no longer exists in Shopify. | The image was removed from your store |
| Shopify hasn't put the original back yet. Try again in a few minutes. | Shopify is still processing the file. Wait and try again |
[!INFO] The copy of each original is a normal file in Content > Files, with "Sol SEO original:" at the start of its ALT text. If you uninstall the app before 30 days pass, the copies stay in Files. After 30 days, the app deletes a copy only if it is not used anywhere else. If a restore of that image failed, the copy is not deleted automatically and stays in Files until you delete it.
If a restore keeps failing, see Why can't I restore an image?.