This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Automatic Image Type Selection
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Automatic Image Type Selection
- From: Holger Rauch <Holger dot Rauch at heitec dot de>
- Date: Tue, 12 Jun 2001 20:09:36 +0200 (CEST)
- Reply-to: Holger Rauch <Holger dot Rauch at heitec dot de>
Hi!
I'm including a company logo the following way:
<mediaobject>
<imageobject>
<imagedata fileref="images/HEITEC_Logo_25" align="center"/>
</imageobject>
<textobject>
<phrase>HEITEC Logo</phrase>
</textobject>
</mediaobject>
I'm using Jade/Openjade and the DSSSL style sheets V 1.70. When I produce
PDF output using pdfjadetex, the correct image type gets chosen
automatically (PNG). When I produce HTML, however, the correct image type
is NOT chosen automatically. Instead the link to the image is created as:
<P><IMGSRC="images/HEITEC_Logo_25" ALIGN="center"></P>
This is clearly wrong! Instead the correct suffix should be appended to
the filename ("gif" or "jpg" for HTML output). Why doesn't this happen? Do
I REALLY have to specify two different imageobjects (one for print output,
one for HTML output)?
Thanks in advance for any help!
Greetings,
Holger