<graphic>

<graphic> (graphic) indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it. [3.10 Graphics and Other Non-textual Components 11.1 Digital Facsimiles]
Module core — Elements Available in All TEI Documents
Attributes
Member of
Contained by
analysis: cl phr s
gaiji: char glyph
linking: ab seg
spoken: u writing
tagdocs: eg
textcrit: lem rdg wit witDetail
verse: rhyme
May contain
core: desc
Note

The mimeType attribute should be used to supply the MIME media type of the image specified by the url attribute.

Within the body of a text, a graphic element indicates the presence of a graphic component in the source itself. Within the context of a facsimile or sourceDoc element, however, a graphic element provides an additional digital representation of some part of the source being encoded.

Example
<figure>
 <graphic url="fig1.png"/>
 <head>Figure One: The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
</figure>
Example
<facsimile>
 <surfaceGrp n="leaf1">
  <surface>
   <graphic url="page1.png"/>
  </surface>
  <surface>
   <graphic url="page2-highRes.png"/>
   <graphic url="page2-lowRes.png"/>
  </surface>
 </surfaceGrp>
</facsimile>
Example
<facsimile>
 <surfaceGrp n="leaf1xml:id="spi001">
  <surface xml:id="spi001r">
   <graphic type="normal"
    subtype="thumbnailurl="spi/thumb/001r.jpg"/>

   <graphic type="normalsubtype="low-res"
    url="spi/normal/lowRes/001r.jpg"/>

   <graphic type="normal"
    subtype="high-resurl="spi/normal/highRes/001r.jpg"/>

   <graphic type="high-contrast"
    subtype="low-resurl="spi/contrast/lowRes/001r.jpg"/>

   <graphic type="high-contrast"
    subtype="high-resurl="spi/contrast/highRes/001r.jpg"/>

  </surface>
  <surface xml:id="spi001v">
   <graphic type="normal"
    subtype="thumbnailurl="spi/thumb/001v.jpg"/>

   <graphic type="normalsubtype="low-res"
    url="spi/normal/lowRes/001v.jpg"/>

   <graphic type="normal"
    subtype="high-resurl="spi/normal/highRes/001v.jpg"/>

   <graphic type="high-contrast"
    subtype="low-resurl="spi/contrast/lowRes/001v.jpg"/>

   <graphic type="high-contrast"
    subtype="high-resurl="spi/contrast/highRes/001v.jpg"/>

   <zone xml:id="spi001v_detail01">
    <graphic type="normal"
     subtype="thumbnailurl="spi/thumb/001v-detail01.jpg"/>

    <graphic type="normal"
     subtype="low-res"
     url="spi/normal/lowRes/001v-detail01.jpg"/>

    <graphic type="normal"
     subtype="high-res"
     url="spi/normal/highRes/001v-detail01.jpg"/>

    <graphic type="high-contrast"
     subtype="low-res"
     url="spi/contrast/lowRes/001v-detail01.jpg"/>

    <graphic type="high-contrast"
     subtype="high-res"
     url="spi/contrast/highRes/001v-detail01.jpg"/>

   </zone>
  </surface>
 </surfaceGrp>
</facsimile>
Content model
<content>
 <classRef key="model.descLike"
  minOccurs="0maxOccurs="unbounded"/>

</content>
Schema Declaration
<rng:element name="graphic">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.media.attributes"/>
 <rng:ref name="att.internetMedia.attributes"/>
 <rng:ref name="att.resourced.attributes"/>
 <rng:ref name="att.declaring.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:zeroOrMore>
  <rng:ref name="model.descLike"/>
 </rng:zeroOrMore>
</rng:element>
element graphic
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.media.attributes,
   att.internetMedia.attributes,
   att.resourced.attributes,
   att.declaring.attributes,
   att.typed.attributes,
   model.descLike*
}