<image> (Template Tag)


Description


The <image> tag enables you to display any image.


Example


 <?xml version="1.0" encoding="utf-8"?>

 <assembly id="nxm.tests.basic.pl">

. . .

   <image source="https://i.pinimg.com/originals/7c/51/98/7c5198d2a0751fa76c8433dba4a1a12a.jpg"></image>

   <image left=0.00 top=0.00 source="https://i.pinimg.com/originals/7c/51/98/7c5198d2a0751fa76c8433dba4a1a12a.jpg"></image>

. . .

 </assembly>


Attributes



Attribute

Description

source

Specifies a path to the image file.

background

Attribute set to the true value causes the image to be displayed below the text as a section background. You need to set the left and top attributes to specify where to display the image (watermark) and the width and height attributes to specify its size.

left

This attribute defines a horizontal coordinate of an object.

top

This attribute defines a vertical coordinate of an object.

width

This styling attribute defines width of an element. For <image> tag the attribute defines width of the background image.

height

This styling attribute defines height of an element. For <image> tag the attribute defines height of the background image.



Child elements permitted


No child elements are permitted.


Parent elements permitted


Any element (except for the <section> tag) that:

  • can have child elements
  • has no other restrictions
  • is the child element of the <content> tag


Child elements prohibited


All child elements are prohibited.


Parent elements prohibited


<section>