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

# Settings: Image optimization

> Configure how PicManager optimizes images: filters, compression, conversion, resize, background removal, Auto Compress and alt texts.

Open the **Image optimization** tab on the **Settings** page to configure how your images are optimized.

> [!NOTE]
>
> Image optimization is available on paid plans only.

![Image optimization settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/settings-21-180.jpg)

## Filter options

Control which images the app will optimize:

* **Select file formats to optimize** - choose the image formats (JPG, PNG, WebP) that should be processed.
* **Select images for optimization** - decide whether to optimize Product images, Collection images, and/or Article images.
* **Enable optimization for published images only** - optimizes only images of published products.

## Optimization size control

**Size control** - if enabled, images will only be optimized if the file size gets smaller. If the optimized file ends up larger, it won't be changed. Disable this option to allow optimization, even if it increases the file size.

> [!NOTE]
>
> The file size may increase if you compress an image and then recompress it with a lower compression ratio (e.g. if you compress an image with lossy compression and then recompress it using normal compression). In this case, the recompressed image can actually become larger than the original.

## Image adjustment

![Image adjustment settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_PicManager/settings-22-180.jpg)

Customize how your images are processed:

* **Configuration type** - select **Manual** to control compression, conversion and resize options. With **Shopify's default** type, only Shopify's preferred compression, conversion and resize resolution are available.
* **Compression** - select the level of compression for non-optimized images:
  * **Balanced compression** - good quality with moderate image weight reduction. Reduces image quality by up to 20%, not noticeable to the eye.
  * **Normal compression** - fine quality with a good image weight reduction. Reduces image quality by up to 30%.
  * **Lossy compression** - satisfactory quality with significant image weight reduction. Reduces image quality by up to 40%.
* **Convert non-optimized images to** - choose whether to convert images to more optimized formats:
  * **Convert PNG to JPG** - JPG is a lighter format that preserves size and colors. Recommended for product images.
  * **Convert PNG, JPG to WebP** - WebP is the lightest format, often used by websites. Recommended for collection and blog images.
  * **Don't convert** - select this option to keep the original image format.
* **Adjust oversized images to** - set the maximum resolution. Only images larger than this will be resized to fit within the limit.

> [!NOTE]
>
> The aspect ratio of the image is preserved. For example, if you specify 2048x2048 and your image is 4096x2048, it will be resized to 2048x1024 to fit within the limits.

## Image resize

![Image resize settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-picm-1130-resize.png)

Resize images using one of these three main resizing methods: **Framing**, **Cropping**, and **Scaling**.

### Framing

Choose the desired aspect ratio for your image: **Square (1:1)**, **Landscape (4:3)** or **Portrait (3:4)** or define precise, custom dimensions for your product images (**Custom**). The aspect ratio changing can result in blank areas (borders) if the original image doesn't perfectly fit the new ratio. The app provides options to fill these areas with a solid color or an AI-generated background.

![Custom aspect ratio](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-picm-1130-custom-ratio.png)

Then use one of the following background treatment options:

* **Background Color** - select a solid color to fill the blank areas. Use the color picker to choose your preferred color. [How it works (video)](https://dev-sf-image-optimizer.app.amasty.com/assets/framing-bg-BHNEHaVl.mp4)

  ![Background color](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Image_Optimizer/2025-03-17-21-21-53.png)
* **AI-generated Fill** - the AI will generate a seamless background that complements the image and fills the empty space. [How it works (video)](https://dev-sf-image-optimizer.app.amasty.com/assets/ai-fill-C7KcTKj-.mp4)

### Cropping

Cropping helps you focus on the most important part of your image. We offer both manual (**Fixed Crop**) and AI-powered (**Smart Crop**) options. Choose the desired aspect ratio for your image: **Square (1:1)**, **Landscape (4:3)** or **Portrait (3:4)** or define precise, custom dimensions for your product images (**Custom**). And use one of the following cropping methods:

* **Fixed Crop** - this is a manual cropping mode. You define how the image should be cropped by selecting the area you want to keep. You can choose the alignment point for your crop (Centre, Top, Right, Left, Bottom). [How it works (video)](https://dev-sf-image-optimizer.app.amasty.com/assets/fixed-crop-DhdR2qdk.mp4)
* **Smart Crop** - this automatic mode uses AI to analyze the image and identify the most important content (e.g., the product). It then crops the image to keep this content in focus. [How it works (video)](https://dev-sf-image-optimizer.app.amasty.com/assets/smart-crop-D-FoARxC.mp4)

### Scaling

Adjust images from minimal resizing to maximum enlargement as needed, choosing the scaling level.

![Scaling level](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Image_Optimizer/2025-03-17-21-22-40.png)

### Remove background

The **Remove background** option allows you to automatically remove or replace the background of product images. It works independently and is fully compatible with all resize types: Framing, Cropping, and Scaling.

**Available options:**

* **None** - (default) Images are processed as usual, without background changes.
* **Remove background** - The image background will be removed. For PNG and WebP images, the background becomes transparent. For other image formats, the background is automatically replaced with white.
* **Color replace** - The image background will be replaced with a selected color.

> [!NOTE]
>
> Transparency is applied only to formats that support it.

![Remove background settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-picm-1130-background.png)

When the **Color replace** option is selected, a color picker setting appears. Choose the color that will replace the image background.

## Auto Compress

**Optimize images automatically** - turn on this option to automatically optimize new images daily using your settings. Can be toggled on or off anytime.

![Auto Compress](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-picm-1110-auto-compress.png)

### Adjust alt text during optimization

Enable the **Adjust Alt Text During Optimization** toggle to automatically generate alt texts during image optimization.

![Alt text settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-picm-1120-alt-text.png)

After enabling the setting, you can configure templates for:

* **Products**
* **Collections**
* **Blog posts**

You can build alt texts using available variables and custom text.

**Product variables:**

* Product title
* Product collections
* Image name
* Shop name
* Variant title

**Collection variables:**

* Collection title
* Shop name

**Blog post variables:**

* Blog title
* Shop name

**How templates work:** You can mix dynamic variables with your own custom text. The system automatically formats your template elements by separating them with hyphens (e.g., Product title - Custom Text - Shop name).

> [!NOTE]
>
> If you share a single image asset across multiple products, the system will generate the alt text using the details of the first product assigned to that image.

**Update Only Empty Alt Texts** - this option is enabled by default.

* **Enabled** - alt texts are added only to images that currently do not have alt texts.
* **Disabled** - existing alt texts are replaced with new values generated from the configured templates.

The settings for your file Uploader and the Optimizer operate independently. If you have alt texts enabled on upload (see [Media upload settings](https://amasty.mintlify.site/sf/picmanager/settings-media-upload.md#alt-text-settings)), they will apply the moment a file enters the system.

* If you want the Optimizer to override those initial upload tags with your new advanced templates, ensure **Update only empty alt texts** is unchecked.
* If you want to keep the uploaded tags and only optimize images that missed out, keep it **checked**.

After optimization, the details page displays:

* **New alt text** - the updated alt text applied during optimization.
* **Original alt text** - the previous value before optimization. If no alt text existed, a dash (-) is displayed.

Click the **Save** button to apply your settings. Then, go to the [Upload media](https://amasty.mintlify.site/sf/picmanager/upload-media.md) page.


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