---
schema_version: "1"
id: 61be28e01eaaf9e804e4c32694f66da3723e4e09c91bfe37ea1794a2bfd4e554
title: Add Images to Messaging Components with Constants, Parameters, and Formulas
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/messaging_components_images_parent.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.messaging_components_images_parent.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9f0ac0b4d98d2c402f3c8103d7cc5afe0d0394d01847ffb9cafccfa7e205ffa3
description: Many types of messaging components can include images, such as enhanced links, forms, and questions with options. Images in messaging components give your customers helpful visual cues, reinforce company branding, and add some color—literally and figuratively—to everyday service interactions. Learn how to control which images are shown in a messaging component that a service rep or bot sends to a customer.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Add Images to Messaging Components with Constants, Parameters, and Formulas

Many types of messaging components can include images, such as enhanced links, forms, and questions with options. Images in messaging components give your customers helpful visual cues, reinforce company branding, and add some color—literally and figuratively—to everyday service interactions. Learn how to control which images are shown in a messaging component that a service rep or bot sends to a customer.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions.</a></td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <a name="messaging_components_images_parent__d743e840"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="messaging_components_images_parent__d743e840" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span>
            <strong>This article applies to:</strong>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced In-App Chat, Enhanced Web Chat v1, Enhanced Web Chat v2, Enhanced
            WhatsApp, Enhanced Facebook Messenger, Enhanced Apple Messages for Business, Enhanced
            LINE, and Bring Your Own Channel</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/crossmark.png" alt="X icon"></span>
            <strong>This article doesn’t apply to:</strong>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Standard and Enhanced SMS channels</td>

        </tr>
      </tbody>
    </table>

## Static Versus Dynamic Images

If you want a messaging component to always show the same (static) image or images, use constants to define the images. Using constants is the simplest way to include images in a messaging component.

To show different (dynamic) images in a messaging component based on messaging session characteristics or other custom criteria, provide the images via parameters or sObject formulas. Adding dynamic images is more advanced than adding static images, but it’s an effective way to personalize messages sent to customers. For example, in a list of the customer’s three most recently purchased products, show an image of each product next to the product name. Or in an enhanced link messaging component, show a URL and image that vary depending on the season or the end user’s location.

## Get Started

- **[Add Static Images to Messaging Components](https://help.salesforce.com/s/articleView?id=service.messaging_components_images_static.htm&release=264.0.0&type=5)**  
    If you want a messaging component to always show the same image or images, define the images in the Messaging Component Builder using constants. Standard constants are auto-created, while you create custom constants manually.
- **[Add Dynamic Images to Messaging Components](https://help.salesforce.com/s/articleView?id=service.messaging_components_images_dynamic.htm&release=264.0.0&type=5)**  
    If you want a messaging component to show different images depending on the situation, define the images in the Messaging Component Builder by using parameters or sObject formulas. Adding dynamic images to messaging components is more advanced than adding static images, but it’s an effective way to personalize messages sent to customers.