2022.2

Table Of Contents
is:file://<host>/<path>.
Note: Ifthehostis"localhost",itcanbeomitted,resultinginfile:///<path>,for
example:file:///c:/resources/images/image.jpg.
l
Urllistsimagefilesfromaspecificwebaddress.Selecttheprotocol(httporhttps),and
thenenterawebaddress(forexample,http://www.mysite.com/images/image.jpg).
3. Withanexternalimage,youcanchecktheoptionSave with template.Ifthisoptionischecked,
thefilewillbeinsertedintheImagesfolderontheResourcespane.
Ifnotsavedwiththetemplate,theimagewillremainexternal.Notethatexternalimagesneedto
beavailablewhenthetemplateismergedwitharecordsettogenerateoutput,andthattheirloc-
ationshouldbeaccessiblefromthemachineonwhichthetemplate'soutputisproduced.
Externalimagesareupdated(retrieved)atthetimetheoutputisgenerated.
4. Selectanimagefromthelist.
5. IftheimageiscontainedinaPDFfilethatconsistsofmorethanonepage,selectthedesired
page.
6. ClickOK.
7. Setthesizeoftheimage.Theoptionsareexplainedhere:https://www.w3schools.-
com/cssref/css3_pr_background-size.asp.
8. Setthepositionoftheimageinthebox.
9. Finally,clickOK.
Note: Itisalsopossibletosetanelement'sbackgroundinastylesheet;see"Stylingtemplates
withCSSfiles"onpage261.WhenreferringtoimagesorfontsfromaCSSfile,refertoapath
thatisrelativetothecurrentpath,whichiscss/.Forexample:#header { background-image:
url('../images/image.jpg'); }.
Border
Inanytypeoftemplate,boxes,tablesandtablecells,paragraphs,imagesandotherelementscanhave
aborder.
Elementshavearectangularshape,sotheirborderhasfoursides.Eachsideofthebordercanhavea
differentlayout.
Addingaborder
1. Right-clicktheelementandclicktherespectiveelementontheshortcutmenu.
Alternatively,selecttheelement(see"Selectinganelement"onpage174)andontheFormat
Page 285