2022.2

Table Of Contents
HTMLtag:img
Whenyouaddelements,suchastext,imagesoratable,tothecontentofatemplate,youareactually
constructinganHTMLfile.ItispossibletoeditthesourceoftheHTMLfiledirectlyintheDesigner;see
"EditingHTML"onpage568.
Inthesection'ssourcefile,imagesare<img>elements.The<img>taghasatleastfourattributes:src,
alt,widthandheight.srcspecifiestheURLoftheimage.altcontainsthealternatetext;see"Set-
tinganalternatetext"onpage654.
Thevalueoftheattributescanbechangedviaascript;see"Attributes"onpage568.
Addingimages
Thissectionexplainsthedifferencebetweenimportedandexternalimagesanddescribesanumberof
waystoaddimagestoatemplate.
Note: TheConnectimagecachesizeislimitedto100MB.Thisallowsmostoutputjobstorun
faster.However,ifajobrequiresmorethan100MBsofimagefiles,thentheConnectimage
cachesizecanbeincreasedtocaterforsuch.PleasecontactOLSupportforinstructionsonhow
tomodifytheimagememorycachevalue,ifneeded.(Seealso:"Limitof100MBofimagefiles
withinasinglejob"onpage108.)
Note: Animagewithanunknownfileextensionisrepresentedbyaredcrossintheoutput,but
noerrorisloggedunlesstheimagereferstoalocalfilethatdoesnotexistondisk.
Imagefileextensionsthatthesoftwarerecognizesare:AFP,BMP,EPS,GIF,JPG/JPEG,PCL,
PDF,PNG,PS,SVG,andTIF/TIFF.
Imported or external images
Intemplates,bothimportedimagesandexternalimagescanbeused.
Importedimagesareimagesthataresavedwithinthetemplatefile.Toimportimagesintoatemplate
andaddthemtothecontent,youcanusethedrag-and-dropmethodortheSelectImagedialog(both
areexplainedbelow).
Externalimagesareeitherlocatedonaspecificwebsite(URL),orinafolderonaharddrivethatis
accessiblefromyourcomputer.Notethatexternalimagesneedtobeavailableatthetimethetemplate
ismergedwitharecordsettogenerateoutput,andthattheirlocationshouldbeaccessiblefromthe
machineonwhichthetemplate'soutputisproduced.
Externalimagesareupdated(retrieved)whentheoutputisgenerated.Torefreshthematanyother
time,usetheRefreshoptioninthemenu(View > Refresh)ortheRefreshbuttonatthetopoftheWork-
space.
Externalimagescannotbeaddedviathedrag-and-dropmethod.UsetheSelectImagedialoginstead
Page 651