Can I embed an image or button within a text block?

As you create your message, you may at some point want to include images and buttons within a text-block.

In the editor, you can achieve this by placing the image or the button next to your text or between two text blocks.

To add it next to the text, please change your section to a two-column section and drag your image or button into the second column.

To add it between the text, simply divide your text into two separate text blocks and place the button or image element in between.

Legacy editor
## How can I place an image within a text block?

Using the Image & Text Block element

The easiest way to add an image to text is to use our dedicated Image & Text Block element. It puts an image block in either the top-left or top-right corner of your text block. You can switch the alignment according to your preference. To do that, double-click your image and use the alignment icons from the taskbar that appears.

image alignment icons.

Adding an image to an existing text

In case you’ve already started working on the message and used a Text block that you now want to add an image to, you can still do that without replacing the whole block with a new Image & Text Block. Here’s how to go about it:

1. Add a Text block to your layout.
2. Navigate to the Basic blocks menu.
3. Select the Image block element, and drag it over the Text block.
4. A border will appear, and the text within will automatically adjust to accommodate the Image block. When you are satisfied with its location, drop your Image block, and it will embed in that spot. You can then click the blank image, and select the image you’d like to display from your image gallery.

How can I place a button within a Text block?

The process for embedding a button inside your Text block is very similar.

1. Add a Text block to your layout.
2. Navigate to the Basic blocks menu.
3. Select the My button element, and drag it over the Text block.
4. Your text block will automatically adjust to accommodate the button under the text.