> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/en/features/marketing/chatbot-2.0/image-carousel-message-card-line-only.md).

# Image Carousel Message Card (LINE only)

Supported Platform: LINE

Image carousel message offers a dynamic way to display multiple images, complete with interactive buttons and customizable actions.

You can add tags, custom attributes, and direct customers to specific pages, and enrich their experience with informative content.

It consists of two sections: [Preview Text](#preview-text) and [Image Carousel Message](#image-carousel-message).

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FrA24Pak7ZIv45blzDglh%2F%E5%9C%96%E7%89%87%E8%BC%AA%E6%92%AD%E8%A8%8A%E6%81%AF.png?alt=media&amp;token=174974d1-d331-4eb0-80b3-c118fb27145b" alt="" width="563"><figcaption><p>Image Carousel Message Card</p></figcaption></figure>

### Preview Text

<div align="left"><figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FZDbtNwIXbjov70eTTkcT%2Fpreview%20text.png?alt=media&amp;token=e95e23dd-686e-4e1a-b962-39198451e2ff" alt="" width="265"><figcaption><p>Preview Text</p></figcaption></figure></div>

* Preview text supports text, URLs, emojis, and variables.
* The character limit is up to 400 characters.

### Image Carousel Message

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FXAm4t43T130fM7SHFFqu%2FImage%20Carousel%20Message1.png?alt=media&amp;token=c50dcb92-c954-4263-9f24-ca2348482821" alt=""><figcaption><p>Image Carousel Message</p></figcaption></figure>

Image Carousel Message has 4 editable sections:

1. [Upload Image](#upload-image)
2. [Actions Upon Clicking the Image](#actions-upon-clicking-the-image)
3. [Add Button](#add-button)
4. [Add an Image Carousel Card](#add-an-image-carousel-card)

#### 1. Upload Image

The image supports .jpg, .jpeg, and .png formats, and can be up to three times taller than its width, with a maximum file size of 1 MB.

#### 2. Actions Upon Clicking the Image

This is a required setup section. Please set either a "**Reply Block**" or an "**Open URL**" action.

* **Reply Block:** Clicking the image will take customers to the designated card.
* **Open URL on click:**
  * When a customer clicks the image, it will redirect to the specified URL.
  * When editing a URL, you can change variables by clicking the lower right corner icon.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FKY7oiAJx5KbvaqUuvUOq%2F%E5%9C%96%E6%96%87%E8%BC%AA%E6%92%ADparameters.png?alt=media&amp;token=9ab8c25f-5728-450d-9173-a8fdd7cfd9e6" alt="" width="375"><figcaption><p>Changing Variables</p></figcaption></figure>

{% hint style="success" %}
**Share chatbot messages with LINE friends**

You can now set up an action in Chatbot 2.0 that allows customers to share chatbot messages with their LINE friends. This feature is only supported on LINE platform and is available exclusively in Chatbot 2.0.

<img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FAG50Gc1Rdd77ui9q0uxu%2Fshare%20with%20friends.png?alt=media&amp;token=3a2abb43-7a36-47e7-a02a-be308e3e9483" alt="" data-size="original">

**Supported card and button types**

* Text Card (including human agent card)
  * Button
* Carousel Card
  * Action upon Clicking the Image
  * Button
* Image Carousel Card
  * Action upon Clicking the Image
  * Button

**Limitations**

* Only the following card types can be shared with others:
  * Text Card
  * Image Card
  * Carousel Card
  * Image Carousel Card
  * Image Map (Action can not be a Video Message)
  * Video Card
* Buttons on shared cards:
  * Only URL-type actions are allowed, such as opening a URL or sharing to LINE friends.
  * If you use other types of actions, an error will show.
  * If the block includes a LINE Rich Menu, transparent backgrounds are not allowed.
    {% endhint %}

{% hint style="success" %}

#### Sharing Chatbot Messages with LINE Friends

You can now use Chatbot 2.0 to set up actions that allow customers to share chatbot messages with their LINE friends.\
This feature is **only available on LINE platform** and is **only supported in Chatbot 2.0**.

<img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FuT4pLsarqFhzkllHErOx%2Fshare%20with%20line%20friends.png?alt=media&amp;token=eae56925-aedc-4637-97c2-2b632eaa4798" alt="" data-size="original">

**Supported Card and Button Types**

You can set up "Share with LINE Friends" action on the following card types and buttons:

* **Text Card**
  * Regular button (including Live Agent Card)
* **Carousel Card**
  * Image click action
  * Regular button
* **Image Carousel Message Card**
  * Image click action
  * Regular button

**Restrictions**

1. Only the following card types can be used in a shared block:
   * Text Card
   * Image Card
   * Video Card
   * Carousel Card
   * Image Carousel Message Card
   * LINE Rich Menu
2. Button Restrictions for Shared Blocks:
   * Only **URL-based actions** are allowed for buttons, such as:
     * Open URL
     * Share with LINE Friends
   * Using other action types will trigger an error.
   * If the block includes a LINE Rich Menu, it can't use a transparent background.
     {% endhint %}

* **Additional action:**
  * **Add Tag:** When the customer clicks the image, it will add the preset tag to the customer automatically.
  * **Save as Custom Attribute:**
    1. When the customer clicks the image, it will add the preset custom attribute to the customer automatically.
    2. Before using this feature, make sure to add attribute data on the Custom Attributes [page](https://console.omnichat.ai/custom-attribute). For instructions, please click [here](https://en-docs.omnichat.ai/features/social-cdp/custom-attribute-cdp-subscription-plan-only#custom-attributes-overview-page).

#### 3. Add Button

This is an optional set up section. There are 4 editable parts:

<div align="left"><figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FAjyz9IFcpSvFIbO8306z%2Fimage%20carousel%20button1.png?alt=media&amp;token=94805329-4b31-4ffc-bb50-4e3affbdb588" alt="" width="286"><figcaption><p>Add Button</p></figcaption></figure></div>

1. **Button Name**
2. **Button Style**
   1. **Button Text Color:** You can choose either black or white.
   2. **Button Background Color:** You can change the background color by entering a Hex color code.
3. **Actions Upon Clicking**
   1. **Reply Block:** Clicking the button will take customers to the designated card.
   2. **Open URL:**
      1. When a customer clicks the button, it will redirect to the specified URL.
      2. When editing a URL, you can change variables by clicking the lower right corner icon, but please note that this feature is not supported in Webchat.
4. **Additional Actions**
   1. **Add Tag:** When the customer clicks the button, it will add the preset tag to the customer automatically.
   2. **Save as Custom Attribute:**
      1. When the customer clicks the button, it will add the preset custom attribute to the customer automatically.
      2. Before using this feature, make sure to add attribute data on the Custom Attributes [page](https://console.omnichat.ai/custom-attribute). For instructions, please click [here](https://en-docs.omnichat.ai/features/social-cdp/custom-attribute-cdp-subscription-plan-only#custom-attributes-overview-page).

#### 4. Add an Image Carousel Card

Scroll right to add image carousel cards, up to a maximum of 10 cards.

#### Below is an example of how an Image Carousel Card displays to customers on LINE:

Card setup:

<div align="left"><figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FbeHvfR58sWDNTnDGOPNd%2Fsetup.png?alt=media&amp;token=36193e71-9e3b-4b14-9cf2-5d7daded606d" alt="" width="563"><figcaption><p>Image Carousel Card</p></figcaption></figure></div>

How the card displays on LINE:

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FeDBYwfsJiRnbD1Gdu43k%2Fdisplay.png?alt=media&amp;token=4b10b981-8d64-416d-a7dd-7ba1532d9732" alt=""><figcaption></figcaption></figure>
