Image

From Xcri

Jump to: navigation, search

URI: http://xcri.org/profiles/catalog/1.1/image

Definition: An image element is used within the XCRI Course Advertising Profile to enable images to be displayed by an aggregator.

Type: Class

Namespace: This is defined within the namespace: http://xcri.org/profiles/catalog

Contents

[edit] Properties

@src (mandatory) A Uniform Resource Identifier (URI) conforming to the URL scheme as specified by IETF RFC 3986. This is used for the image location.

@title (optional) a title for the image, such as could be used as a caption.

@alt (optional) alternative text that should be displayed if the image cannot be rendered.

[edit] Example

  <image src="http://xcri.org/courses/c1/logo.png" title="Study XCRI" alt="Logo for the XCRI course"/>

[edit] Guidance Notes

Image size: Note that any images are subject to being re-scaled by the aggregator.

Image format: Providers should offer images in standard formats, such as PNG and JPEG.

Accessibility: While @alt is optional, following the structure of XHTML, providers SHOULD provide meaningful alternative text.

[edit] Usage

Image is used in course and all properties and resources of Organisation Type

Personal tools