Used for referencing images and other media. This element serves as a wrapper around these elements:
imageobject
: Used to wrap image data. An
imageobject can wrap exactly one image file. If more than
one image file should be included in the mediaobject, you
have to specify more than one imageobject. As in the
following example, this could be done for multiple
languages. An imageobject contains exactly one
imagedata
tag.
textobject
: Used to wrap a description
that shows up as the alt
attribute to the
HTML img
tag.
textobject
contains exactly one
phrase
. If more
phrase
s are needed, you need to specify
more than one textobject
.
Apart from imageobject
and
textobject
, mediaobject
may contain other XML elements for media files, such as
videoobject
and
audioobject
.
<mediaobject> <imageobject> <imagedata fileref="screenshot.en.png" lang="en"/> </imageobject> <imageobject> <imagedata fileref="screenshot.de.png" lang="de"/> </imageobject> <textobject> <phrase lang="en">A screenshot</phrase> </textobject> <textobject> <phrase lang="de">Ein Mattscheiben-Foto</phrase> </textobject> </mediaobject>