> For the complete documentation index, see [llms.txt](https://image-ai.guides.reactify.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://image-ai.guides.reactify.com.au/navigating-the-app/settings/best-practices-for-creating-templates.md).

# Best practices for creating templates

Incorporate relevant product attributes in your image alt text and SEO metadata templates! This section serves as a helpful resource for optimising template creation. By showcasing examples, we hope that it offers guidance to ensure your templates are set up effectively.

#### **Bad image alt text (no context)**

> 1200002\_DRESS\_BRAND.jpg

**Better (relevant and descriptive)**

> Paisley Bohemian Dress in Multicolour

**Alt text template example**

{% code overflow="wrap" %}

```liquid
{% if ai.style %}{{ai.style | split: ", " | join: " and "}} {{ai.pattern | downcase}}{% else %}{{ai.pattern}}{% endif %} {{ai.fit | downcase}} {{ai.subcategory | downcase}} {{ai.category | downcase | replace: "necklet", "" | replace: "neckwear", "" | replace: "bag", ""}}{% if ai.other %} with {{ai.other | downcase}}{% endif %} in {{ai.colors | downcase}} {{ai.material | downcase}}
```

{% endcode %}

#### **Bad SEO title (too short)**

> Navy trouser

#### **Better (specific and detailed)**

> Charlotte Dress | Bohemian & Feminine A-Line Dress | Reactify

**Title template example**

{% code overflow="wrap" %}

```liquid
{{product.title}} | {{ai.style | split: ", " | join: " & "}} {{ai.subcategory}} {{ai.category | replace: "Necklet", "" | replace: "Neckwear", "" | replace: "Bag", ""}} | {{product.vendor}}
```

{% endcode %}

#### **Bad SEO description (list of keywords)**

> "Dress, cotton, paisley, multicolor, a-line"

#### **Better (explains what the product is and details like where it's made)**

> Discover the `perfect` `bohemian` and `feminine` `paisley` `a-line` `dress` in `multicolor` `cotton`, ideal for `summer` wear from Reactify. Free shipping over $100.

**Description template example**

{% code overflow="wrap" %}

```liquid
Discover the perfect {{ai.style | split: ", " | join: " and " | downcase}} {{ai.pattern | downcase}} {{ai.fit | downcase}} {{ai.subcategory | downcase}} {{ai.category | downcase | replace: "necklet", "" | replace: "neckwear", "" | replace: "bag", ""}}{% if ai.other %} with {{ai.other | downcase}}{% endif %} in {{ai.colors | downcase}}{% if ai.material %} {{ai.material | downcase}}{% endif %}{% if ai.occasion %}, ideal for {{ai.occasion | split: ", " | join: " or " | downcase}} wear{% endif %} from {{product.vendor}}. Free shipping over $100.
```

{% endcode %}


---

# 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://image-ai.guides.reactify.com.au/navigating-the-app/settings/best-practices-for-creating-templates.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.
