Used to include an image on a canvas.
Although the src, url and urlc attributes are individually optional (for technical reasons), one of these three attributes must be used on the element.
Attribute | Description | Type | Default | Options | Use |
---|---|---|---|---|---|
alt | The text to be displayed if an image cannot be accessed. | xs:string | none | optional | |
assetURLsuffix | A suffix to add parameters to the URL, for example a query string containing user information. MCS adds the specified suffix to the final variant URL without attempting to interpret it. | xs:string | none | optional | |
src | The policy name of the image to be displayed. The policy can have variants of type Generic, DeviceSpecific or Convertible. MCS will process images using ICS servlet in the Media Access Proxy, but it is not possible to override ICS rules. | xs:string | none | optional | |
url | URL to locate an image file (as distinct from a policy name) to be used. See also src. | xs:string | none | optional | |
urlc | URL to locate a convertible image file (as distinct from a policy name) to be used for transcoding. You can also override ICS. See also src. | xs:string | none | optional |
The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.
<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="img">
<pane name="logo">
<img src="/welcome/vol_logo.mimg" alt="Antenna Software, Inc. Logo"/>
</pane>
</canvas>