GIF
Content blocksGIF
An animated GIF block.
Options#
- Source URL + alt text
- Width, alignment, padding
- Optional link
How it renders
A GIF block is exported the same way as an image block: an <img>, wrapped in a link when href is set, with the same width, alignment, border and corner values. A new GIF block starts with width: 100, align: "center" and border_radius: 18. In an AMP export it becomes an <amp-img>.
Adding the file
The GIF panel offers Upload GIF, Open Library, drag and drop, and a pasted link. Uploads go through your upload handler. Without one, the file is stored in the design as a base64 data: URL, which makes the email HTML much larger.
Before you send
- A GIF block with an empty
srcis left out of the email. - Pre-send QA warns when a GIF has no alt text.
- For still images, see the Image block, which shares these options.