# Image rules

{% hint style="info" %}
**Who can use this feature:** You need the Creatives plan in your[ Plans and pricing](https://app.gitbook.com/s/8y3q10FnokmlpzYq3YPS/manage-your-subscription/channables-pricing-plans) to use this feature.
{% endhint %}

### What are image rules?&#x20;

You can use image rules in Channable to automate changes to your product images. Instead of manually editing every product image, you can set up one rule that automatically changes and optimizes thousands of product images at once.&#x20;

Like rules in the **Rules step** of a channel setup, image rules follow the logic “IF the items meet X criteria, THEN do Y”. The IF part of the rule is a [condition](https://helpcenter.channable.com/hc/en-us/articles/360019983459-How-to-use-conditions-IF-in-rules) and the THEN part is an [action](https://helpcenter.channable.com/hc/en-us/articles/360019982579-How-to-use-actions-THEN-in-rules):

* The condition (IF) selects the products you want to change (e.g. products that are from a specific brand or products that are on sale)
* The action (THEN) tells Channable which image template (design) to apply to these products’ images

A simple way to think of image rules is: **IF** it’s this product, **THEN** use this image template.<br>

{% hint style="success" %}
**Tip:** Learn more about [rules in Channable](https://helpcenter.channable.com/hc/en-us/articles/360020017900-Rules-in-Channable).&#x20;
{% endhint %}

### How to create an image rule

1. Go to **Creatives > Image rules** ([project-level image rules](https://helpcenter.channable.com/manage-improve-product-data/creatives-create-and-edit-images/image-rules/how-to-use-project-level-image-rules)).&#x20;
2. Click **Create rule**.
3. Fill in a **Rule name** and **Description**. You can also [create a label](https://helpcenter.channable.com/hc/en-us/articles/360012773460-Using-rules#h_01JNGSTBHZ66PKBY5HN3GKYB5D) for your new rule.&#x20;
4. Click **Create**.&#x20;
5. In the **IF** part of the rule, set up which products you’d like to select/target with this image rule. E.g. IF brand equals Nike
6. In the **THEN** part of the rule, select a template to apply (all of the templates you have created will show in a dropdown list). You can also create a new template which will navigate you to the Image Editor.&#x20;
7. Once you have selected/created a template, select which image field to store the new image URL that this rule will create.
8. Click **Save**.
9. After the next scheduled run your image rule will be put into action. You can also manually run the image rule by clicking **Run now**.&#x20;

<br>
