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

Restore one image from Large images

  1. In the app, select Performance, then open the Large images page.
  2. In the Compressed images table, find the image. The table shows its size before and after compression.
  3. Select Restore on that row.
  4. 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.

  1. Select History and open the change that compressed your images.
  2. 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?.

Related articles

← How to compress large images and keep the original