logo

Purpose

Used to include a logo on a canvas.

Note:

Although the src, url and urlc attributes are individually optional (for technical reasons), one of these three attributes must be used on the element.

Attributes

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 the ICS servlet in the Media Access Proxy, but it is not possible to override the 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 

Attribute groups

Example

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="logo">
  <pane name="background">
    <logo src="/welcome/vol_logo.mimg" alt="Antenna Software, Inc. Logo"/>
  </pane>
</canvas>

Related topics