> ## Documentation Index
> Fetch the complete documentation index at: https://amasty.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Optimization

> Sync, preview and optimize images in PicManager: compress, resize, crop and convert to PNG or WebP, then check the results.

You can optimize your images to correct large file sizes, aspect ratios, or formats that can slow down page loading or affect image appearance. Optimization follows the settings configured in [Image optimization settings](https://amasty.mintlify.site/sf/picmanager/settings-image-optimization.md).

## Sync your images

Before optimizing, **sync your images** - this is a required step. Wait until the sync process is complete. Once synced, your images will appear in the grid.

> [!NOTE]
>
> * Product and collection images will automatically sync after the first sync, no need for further syncing when new ones are added.
> * New blog images require manual syncing. Click the **Sync blog post images** button before optimization.

![Sync images](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/sync-images.jpg)

## Preview images

See the results of optimization before or after you apply it:

**1. Find an image**

Find an image with the **Not optimized** status.

**2. Click the Eye icon**

Click the **Eye icon** next to the image status:

* **Not optimized** status: preview of how the image will look after optimization.
* **Optimized** status: view the final version of the processed image.

![Preview images](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/preview-optimization3.jpg)

## Optimize images

**1. Select the images you wish to process**

You can easily find them by:

* **Filtering:** use the tabs to browse by Product, Collection, or Article.
* **Searching:** use the search bar to find specific images.
* **Sorting:** organize your list by Upload Time (Newest/Oldest) or File Size (Largest/Smallest).

![Image sorting, filter and search](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/filter-sorting.jpg)

**2. Click Optimize**

Click **Optimize** or choose **Optimize > All images** or **Not optimized images**.

> [!NOTE]
>
> Optimization will follow the settings you configured on the **Settings** page, or change them in the **Adjust settings for optimization** section.

View the estimated cost of image optimization before starting the process. The cost is displayed:

* Next to each optimization option in the **Optimize** popover.
* On the **Optimization** page, next to the **Optimize** button after you select images.

> [!NOTE]
>
> When selecting images manually, the estimated cost updates automatically as your selection changes. A cost of 0 is also displayed when no additional charge applies.

![Optimization cost estimate](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/sf-picm-1170-costs.png)

**3. Wait for the process to finish**

Optimization runs in the background. Click **Notify me when finished** to receive an email once the process is complete. Notifications are sent to your store's default email address (check in **Shopify Settings**).

![Notification upon image optimization process completion](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/notify-optim.jpg)

In the meanwhile, feel free to leave the Shopify admin and return later.

> [!NOTE]
>
> The app performs one task at a time. Please wait for the current process to finish before starting new image optimization.

## Check results

After optimization, you'll be redirected to a page showing **Optimization job details** and an **Images preview grid**.

![Optimization job details](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Image_Optimizer/optimization-job-1.jpg)

Under the **Optimization job details** section, you'll find the start and finish times, and the number of images selected and successfully optimized.

In the **Images preview** grid, you can see which images were optimized, compare the original and compressed sizes, and view the total percentage of weight saved.

Click the **View details** link for more information on each image's optimization:

![Optimization details](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/sf-picm-1140-details.png)

> [!NOTE]
>
> If an image's size or parameters remain unchanged after optimization, it means the image already meets your set criteria and doesn't require further optimization.

At the top of the **Optimization** page, the **Total Saved (MB)** section shows the total space saved through compression.

If you're not satisfied with the results, you can [restore optimized images](https://amasty.mintlify.site/sf/picmanager/history.md#restore-optimized-images).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.