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

> Configure LitePix: compression and conversion, resizing, background removal and alt texts settings.

On the **Settings** page, you can specify your parameters for image optimization. The app optimizes images that meet the criteria specified here.

![Sf Litepix 171 Settings](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/sf-litepix-171-settings.png?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=57db6f566c9426ead9ee0457895090a0)

> [!NOTE]
>
> Upon first use, after your products have synced, you'll be guided through a **quick setup**. A setup panel appears at the top of the product grid - you can simply follow the steps to configure how your images will be optimized for the first time, or skip it and configure everything in the sections below.

**Auto Compress** - enable to allow images to be automatically optimized daily according to predefined settings. Any new images uploaded to your site will be processed without manual intervention. You can disable auto compress at any time from the settings panel.

**Image file format** - choose the file formats you want to optimize: jpg, png, webp.

**Image types** - select the types of images the app will optimize: product images, collection images, article images.

**Visible product images** - check this option to optimize images for published products only.

**Save originals to Shopify Files** - Save a copy of the original images to Shopify Files before optimization to keep them available for future use.

**Optimization 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.

**Configuration type** - select **Manual** to unlock additional compression, conversion and resize options. With **Shopify's default** type, only Shopify's preferred compression, conversion and resize resolution are available.

## Compression and conversion

These options are available when **Configuration type** is set to **Manual**.

![Litepix 140 Settings](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/litepix-140-settings.png?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=c3652b29dda37b84ffc7044c559bfabb)

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

![Sf Litepix 170 Alt Text](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/sf-litepix-170-alt-text.png?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=363c29f502f63898d8750580638fc0c1)

## Resize options

The app offers three main resizing methods: **Framing**, **Cropping** and **Scaling**.

### Framing

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.

Choose the desired aspect ratio for your image: **Square (1:1)**, **Landscape (4:3)**, **Portrait (3:4)**, or **Custom** (here you can specify your custom **Width** and **Height**).

![Framing Aspect Ratio (1)](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/framing-aspect-ratio-\(1\).jpg?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=5860c52e74911a6fc95147939b335dc0)

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)

![2025 03 17 21 21 53](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/2025-03-17-21-21-53.png?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=93df8908cf8371187dc0d0791dd97920)

* **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)**, **Portrait (3:4)**, or **Custom** (here you can specify your custom **Width** and **Height**). Then 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.

![Litepix 160 Scaling 2026 03 03](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/litepix-160-scaling-2026-03-03.png?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=cc0dac4cc69ad5730898e6e9b7c0a613)

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

![Litepix 160 Remover 2026 03 03](https://mintcdn.com/amasty/0c9_caG9HMp1KYAL/images/litepix-160-remover-2026-03-03.png?fit=max\&auto=format\&n=0c9_caG9HMp1KYAL\&q=85\&s=016fe16cfa831ae737bf47f35ca6f18f)

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

## Add image alt texts

This option allows you to automatically generate alt texts for images using customizable templates. This helps search engines better understand your images while improving accessibility and SEO.

![Add alt texts settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_Image_Optimizer/litepix-160-alt-2026-03-03.png)

When you enable the **Add alt texts** toggle, you can customize templates for three specific areas of your store. Each category allows you to mix **dynamic variables** with your own custom text (e.g., adding "Buy " or "Official Store" around the variable):

* **Products** - Defines alt texts for images assigned to products. Available variables:
  * **Product title**
  * **Product collections** - all collections assigned to the product
  * **Image name** - original image file name
  * **Shop name**
  * **Variant title** - if a product has variants, the variant title is used. If no variants exist, the main product title is used instead.
  > [!NOTE]
  >
  > If one image is assigned to multiple products, the alt text will use the first associated product's data.
* **Collections** - Defines alt texts for images assigned to collections. Available variables:
  * **Collection title**
  * **Shop name**
* **Blog posts** - Defines alt texts for images assigned to blog posts. Available variables:
  * **Blog title**
  * **Shop name**

> [!NOTE]
>
> Each field is required. If a checkbox is disabled, its input field becomes inactive.

**Update only empty alt texts:**

* When **ON**: We only add text to images that currently have no alt description. This protects any manual SEO work you've already done.
* When **OFF**: We will overwrite all existing alt texts with your new template.

Once the optimization run is complete, you can see what changed in the optimization summary:

* **New alt text:** The template-generated text now assigned to the image.
* **Original alt text:** What was there before (displays a dash if it was empty).

> [!NOTE]
>
> If the generated alt text is the same as the existing one, the same value will appear in both **Original alt text** and **New alt text**.


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