This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Automatic Image Type Selection


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]