2022.2

Table Of Contents
Images
Imagesareapowerfulingredientinallofyourtemplates.Thistopicexplainshowtoaddandusethem.
Currentlythesupportedimageformatsare:
l
BMP
l
EPS
l
GIF
l
JPG/JPEG
l
PDF
l
PNG
l
SVG
l
TIF/TIFF
Base64encodedimagesaresupported;however,theyareaddeddifferently:setthesrcattributeofan
<img>elementtothebase64code(seebelow,"HTMLtag:img"onthefacingpage).
ForEmailandWeboutput,PNGisthepreferredimageformat.
EPS,PDF,SVGandTIFFimagesinanEmailorWebsectionareautomaticallyconvertedtoPNGto
ensurethattheycanbeseeninthebrowseroremailclient.
32-bitBMPfilesarenotsupported.
Waystouseimages
Intemplates,bothimportedimagesandexternalimagescanbeused(see"Addingimages"onthe
facingpageand"Resources"onpage108).Onceaddedtothecontentofatemplate,animagecanbe
resized(see"Resizinganimage"onpage282)andalternatetextcanbelinkedtoit(see"Settingan
alternatetext"onpage244).
Tip: UsingimagesinanEmailtemplate?See"Usingimagesinemailcampaigns:tips"on
page153.
Dynamic images
Imagescanbeswitcheddynamically,sothataletteroremailcanincludeoneimageoranother,
dependingonavalueinthedataset.Read"Dynamicimages"onpage324tofindouthowtoaddsuch
switchingimages.
Page 239