> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/en/crm-marketing/in-app-message-guide/create-campaign/in-app-message-template.md).

# In-App Message Image Template

## In-App Message Layouts

Hackle currently supports Modal, Banner, and Bottom Sheet layouts.

![](/files/ix3lXFnuUvdM7agMfGaI)

Below are the recommended aspect ratios and sizes for each layout.

* File format: PNG, JPG, JPEG
* File size: up to 3MB

Since the recommended image aspect ratio differs by layout, please check the ratio and size when uploading images. (When landscape orientation is selected on mobile, a separate landscape image must be uploaded.)

<table><thead><tr><th width="134.73828125">Layout</th><th>Layout Details</th><th>Recommended Size</th></tr></thead><tbody><tr><td>Modal</td><td>Image</td><td>* Portrait: 2:3 / 1200px:1800px</td></tr><tr><td>Modal</td><td>Image + Button</td><td>* Portrait: 2:3 / 1200px:1800px</td></tr><tr><td>Modal</td><td>Image + Text + Button</td><td>* Portrait: 29:10 / 1450px:500px</td></tr><tr><td>Banner</td><td>Image + Text</td><td>* Ratio: 1:1</td></tr><tr><td>Banner</td><td>Image</td><td>* Ratio: 24:7</td></tr><tr><td>Bottom Sheet</td><td>Image</td><td>* Portrait: 3:2 / 1800px:1200px</td></tr><tr><td>Bottom Sheet</td><td>Image + Button</td><td>* Portrait: 3:2 / 1800px:1200px</td></tr></tbody></table>

Build the appropriate campaign based on the effect each layout delivers!

1. Modal: Primarily used for important information or promotions that users must not miss.
2. Banner: Used when providing simple feedback or information on the page where the user is located.
3. Bottom Sheet: Primarily used when immediately displaying promotions or notices when a user enters the service.

## Notice Sample Sources

We provide samples you can use for in-app message campaigns. Download the desired image directly, or edit it in Figma and use it!

### Image + Button

![Popup example](/files/QhMzgbJXxikyNnfcrBik)

![1200x1800](/files/yL9ba9hNkQSd7jU5pvN6)

![1450x500](/files/6BjvkjgxdFnSk4WqS6uK)

![1800x1200](/files/5N1xAn9RW7rn36IzDsIb)

### Image + Text + Button

![Popup example](/files/jLql2jlMcL4RcRtXk7Km)

![1200x1800](/files/Bn2eLvdWcEZ12EgATsaP)

![1450x500](/files/nsw9JbGYCB4DBXHZtdic)

![1800x1200](/files/U8KcCBVsZTg5qLgr5Ygo)

## User Survey Sample Sources

### Image + Button

![Popup example](/files/PcKfGlrVsLGMO2nNq9S2)

![1200x1800](/files/adbrSgovM0we4YTLrFv5)

![1450x500](/files/EcfMkv9KvIfyV0w0iAnF)

![1800x1200](/files/3l5wNJOgiSCl1LPHxGgf)

### Image + Text + Button

![Popup example](/files/ctlGqQmNqUhpDP7NTEzL)

![1200x1800](/files/nccoZpxXbQen30Goabrd)

![1450x500](/files/tZoynIURgkfmtfYInXb7)

![1800x1200](/files/RQNRftrbTvFTGz6S0VVp)

## Promotion Sample Sources

### Image + Button

![Popup example](/files/imAVQSTYKCb17AqIsbGr)

![1200x1800](/files/aWmRXNSrVcwmZpB1QzHg)

![1450x500](/files/TBPiIQLvPlclM8JYpDNI)

![1800x1200](/files/lrKOcCqf8QPPn6kMLYc1)

### Image + Text + Button

![Popup example](/files/EuHPpcwrHTk4Vfw16G2p)

![1200x1800](/files/l7frJFpzGmmBoIKGajup)

![1450x500](/files/FwKOFiGFrUvhfmtTQKgS)

![1800x1200](/files/E6OQmClYj6IpDQFSmrD2)

## Figma

### In-App Message Example Images

{% embed url="<https://www.figma.com/embed?embed_host=share&url=https://www.figma.com/file/mo79jPwvJbqzNkdgKKS9AT/In-app-message?type=design&node-id=0%3A1&mode=design&t=2bBdpcGHa4OX6RYx-1>" %}

### Commerce In-App Message Samples

{% embed url="<https://embed.figma.com/design/mo79jPwvJbqzNkdgKKS9AT/In-app-message?embed-host=share&node-id=3997-313>" %}

### In-App Message Specifications

{% embed url="<https://embed.figma.com/design/mo79jPwvJbqzNkdgKKS9AT/In-app-message?embed-host=share&node-id=1951-337>" %}


---

# 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://docs.hackle.io/en/crm-marketing/in-app-message-guide/create-campaign/in-app-message-template.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.
