Creating an AMP Carousel

AMP Carousel is one of the ways to add interactivity to an email.

Email carousel block showing a salad and vegetables photo with left and right navigation arrows, a Register now button, and a Useful information box below

You can create it:

  • using the built-in Carousel block;
  • or with a third-party service.
šŸ“˜

Important

To start sending campaigns with AMP-powered carousels, you must register with Google as a dynamic email sender.

Creating an AMP-Powered HTML Carousel

Adding the Block

  1. Create a new email or open an existing one.
  2. Add the Carousel block to the template.
Email editor with the Carousel block icon boxed in red in the left toolbar and a red arrow pointing to an empty carousel placeholder in the template

Click the block to open its settings.

Adding and Configuring Slides

  1. Add an image for the first slide:
  • select an image from the uploaded files;
  • or upload a new one.
Carousel block settings panel with Slide 1 tab and the Drag-n-drop your image or paste URL area boxed in red
  1. Add Alternate text and a Link.
Carousel block settings panel with the Link and Alternate Text fields boxed in red below the Slide 1 image
  1. To create additional slides, click + and repeat the steps above.
Carousel block settings panel with the + button boxed in red next to the slide number tab

The number of slides is not limited.

šŸ‘

Recommendation

Use images of the same size for smooth carousel transitions.

If the images have different sizes, edit them in the built-in editor:

  • adjust the scale;
  • align the proportions.
Carousel block settings panel for Slide 2 with the image editing icon boxed in red next to the thumbnail, showing a preview of a coat rack carousel photo

General Carousel Settings

After adding the image for the first slide, the following settings become available:

  1. Autoplay — automatically switches slides with a Delay Time.
Carousel block Settings tab with Autoplay and Loop toggles off, and Slide Image Fit, Slide Thumbnail, Thumbnail Size, and Alignment options, next to a carousel preview showing an autumn-themed photo
  1. Loop — continuously cycles through slides when clicked.
  2. Slide Image Fit — defines how the image is displayed within the slide (Cover or Contain).
  3. Slide Thumbnail — displays slide thumbnails.
  4. Thumbnail size — sets the size of thumbnails.
  5. Alignment — defines the position of the preview block relative to the carousel:
  • horizontal — left, center, or right;
  • vertical — above or below the carousel.
Carousel block settings panel with Loop, Slide Image Fit, Slide Thumbnail, Thumbnail Size, and Alignment options boxed in red and numbered 2 to 6, next to a carousel preview showing folded sweaters
  1. Space Between Thumbnails – sets the distance between thumbnails.
  2. Thumbnail Image Fit — defines how the image is displayed within the thumbnail (Cover or Contain).
  3. Custom Thumbnail — displays either a slide thumbnail or a color indicator.
Carousel block settings panel with Space Between Thumbnails, Thumbnail Image Fit, and Custom Thumbnail options boxed in red and numbered 7 to 9

If you enable General link, all carousel slides will use the same URL.

Use this option if:

  • the entire carousel links to one page;
  • separate links for each slide are not required.
Carousel block settings panel with the General Link toggle enabled and the Link URL field boxed in red

HTML Version for Clients Without AMP Support

Gmail users will see the AMP block. For other email clients, you need to create a carousel using a special HTML block.

Creating a Carousel with FreshInbox

Supported in:

  • iPhone Mail
  • Android Mail 4.x
  • Apple Mail
  • Yahoo! Mail
  • AOL Mail

In unsupported clients (Gmail, Outlook 2007–2013, Outlook.com), only the first image is displayed.

  1. Go to FreshInbox.
  2. Add links to images.
FreshInbox carousel generator with the Image #1, #2, and #3 URL fields boxed in red, showing a preview of the autumn-themed carousel

Minimum number of images — 3. Use the + More images button to add additional images.

FreshInbox carousel generator with the + More images button boxed in red below the three image URL fields
  1. Configure the block dimensions.
FreshInbox carousel generator with the Image width and Image height fields boxed in red below the More images button
  1. Send a test to your email address.
FreshInbox carousel generator with the Email address field boxed in red next to the Email this to me button

Adding the Block to eSputnik

  1. Add an HTML block.
Email editor with the HTML block icon boxed in red in the left toolbar and a red arrow pointing to an Insert elements with custom code placeholder in the template
  1. Click the HTML block to open the code editor.
Email editor toolbar with the code editor icon boxed in red next to the Preview and Test buttons
  1. Copy the HTML code from FreshInbox.
FreshInbox CSS and HTML code panels with the HTML code block boxed in red
  1. Paste the code into the editor and click Apply the code.
HTML block code editor with pasted carousel HTML code and the Apply the Code button boxed in red
  1. Copy the CSS code from FreshInbox.
FreshInbox CSS and HTML code panels with the CSS code block boxed in red
  1. Open the Custom CSS tab and paste the CSS code.
  2. Remove the <style> tag at the beginning and end of the code.
HTML block Custom CSS tab boxed in red with pasted CSS code and the Apply the Code button highlighted
  1. Click Apply the Code.

Display Settings

  • For the Carousel block

Select Include in ⚔ HTML in the settings.

Carousel block settings panel with the title underlined in red and the HTML lightning icon option boxed in red in the Include in row
  • For the HTML block

Select Include in HTML in the settings.

Html block settings panel with the title underlined in red and the HTML option boxed in red in the Include in row

Check How Both Blocks Appear

To check how AMP and HTML blocks work:

  1. Click Preview.
Email editor toolbar with the Preview button boxed in red next to the Test and Save buttons
  1. In the preview window, switch between versions:
  • ⚔ HTML
  • HTML
Email preview window with HTML and lightning HTML tabs and an Errors 35 indicator at top, showing the desktop and mobile carousel previews side by side

Make sure that:

  • the AMP version shows the interactive carousel;
  • the HTML version shows the first image.

Instead of an HTML carousel, you can add a regular product card and enable HTML display for it. In this case, it will be shown only in clients without AMP support.

Structure block settings panel with the HTML option boxed in red in the Include in row, above a preview of three product cards

Checking the AMP Email for Errors

In the preview window, click Errors to see the description.

Email preview window with the Errors 35 button boxed in red and an AMP HTML validation failed popup listing found errors

If necessary:

  • fix the code in the editor;
  • copy the code;
  • or open it in Google Playground for validation.

Did this page help you?