> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/creatives-create-and-edit-images/image-rules.md).

# Apply your template with image rules

{% hint style="info" %}
**Who can use this feature:** You need the Creatives plan in your [Plans and pricing](/account-billing/manage-your-subscription/channables-pricing-plans.md) to apply templates with image rules. You can use project-level image rules with any channel. You can preview results in **Creatives** > **Image rules** without the add-on.
{% endhint %}

### What are image rules?

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.

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).
{% endhint %}

### How to create an image rule

1. Go to **Creatives** > **Image rules** ([project-level image rules](/manage-improve-product-data/creatives-create-and-edit-images/image-rules/how-to-use-project-level-image-rules.md)).
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.
4. Click **Create**.
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.
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**.

{% hint style="warning" %}
Use the same unique ID for your project and export. Each item needs a unique identifier for image rules to process it correctly.
{% endhint %}

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpcenter.channable.com/manage-improve-product-data/creatives-create-and-edit-images/image-rules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
