> ## 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.

# How to optimize images

> Select images, run LitePix optimization, check cost estimates and review optimization job results.

## Prepare for optimization

On the **Dashboard** page, you can [sync](https://amasty.mintlify.site/sf/litepix/sync-images.md) and optimize images.

> [!TIP]
>
> Use "View" to check expected results or optimize a few test images first. You can [restore](https://amasty.mintlify.site/sf/litepix/restore-images.md) your originals at any time.
>
> ![Preview 1 (1)](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/preview-1-\(1\).jpg?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=9225719da82785dd357cd8602af5268a)

After syncing, all synced images will appear in the grid under the **Optimization** tab. The number of images requiring optimization is displayed at the top in the **Images to optimize** section.

![Dashboard 2 (1)](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/dashboard-2-\(1\).jpg?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=c5bd9b702ebec87e854b1dc27b484d61)

Optimization runs based on the parameters set on the [Settings](https://amasty.mintlify.site/sf/litepix/settings.md) page. Alternatively, you can configure these parameters directly on the Dashboard during quick setup.

## How to optimize images

> [!NOTE]
>
> Don't worry - we store your original images. You can [restore](https://amasty.mintlify.site/sf/litepix/restore-images.md) them anytime during your plan's restoration period if you aren't happy with the results.

**1. Select the images you want to optimize**

Filter by product **status** (optimized / not optimized) or collections and use sorting to find images for optimization. Sort by image **upload date** or image **file size**, or use **resolution** to quickly find images with the largest pixel dimensions.

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

Or use the **Search by** option:

* **Image name** - returns results matching the image **file name** (default behavior).
* **Entity name** - returns results matching the name of the product, collection, or article the image belongs to.

> [!NOTE]
>
> Only one search mode can be active at a time.

![Litepix 140 Search Filter](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/litepix-140-search-filter.png?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=14ef19afbd1515c8bf9eda0963e1d714)

> [!NOTE]
>
> You can see the estimated cost before optimizing your images. It appears next to the **Optimize** button and updates automatically as you change your selection. A cost of 0 is displayed when optimization is free. The cost shown already accounts for your current image settings, including alt-text optimization.
>
> ![Sf Litepix 180 Costs](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/sf-litepix-180-costs.png?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=af65976072ad13e6851094d9e01c8dd4)

**2. Click Optimize or Optimize all**

Click the **Optimize** button, or **Optimize all** for bulk processing.

![Optimize Images 2 (1)](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/optimize-images-2-\(1\).jpg?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=ba509dec823a518da0af0fcdb71cbf60)

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

Optimization runs in the background according to your settings, so you can safely leave the Shopify admin and return later. To stay updated, click **Notify me when finished** and we'll email you as soon as the process is complete.

![Email Notif (1)](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/email-notif-\(1\).jpg?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=3f03c701a37e95da94f56cd01afd6acc)

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

## Review the results

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

> [!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.

![Optimization Job 1 (1)](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/optimization-job-1-\(1\).jpg?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=7ca5ff2226098abd3c49627dd4c76b58)

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 (1)](https://mintcdn.com/amasty/FNNt-F0bKxdbtj-I/images/optimization-details-\(1\).jpg?fit=max\&auto=format\&n=FNNt-F0bKxdbtj-I\&q=85\&s=3ecacd95746413e1b484aa38d4bd7104)

> [!WARNING]
>
> If you are using your images on third-party services like Instagram & Facebook, Google & YouTube, those services will not automatically receive the optimized image files. After optimization, your images might appear blank in those integrations. To fix this, open each third-party application and manually **resync your images there**.

If you're not satisfied with the results, you can [restore](https://amasty.mintlify.site/sf/litepix/restore-images.md) your images to the previous state.


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