← Prev in month ← Prev in thread

HTML / HTMLHelp: ignore.image.scaling parameter

From
Paul A. Hoadley <>
Date
2003-05-06T08:30:58+00:00
ID
Thread
HTML / HTMLHelp: ignore.image.scaling parameter
Hello,

I am using htmlhelp.xsl (from 1.60.1) to generate HTML Help, though I
suspect this is a general HTML stylesheet issue.

I have some PNG images which I have scaled to a particular width for
PDF output.  For example:

        <figure id="fig:optform1">
          <title>&optform;</title>
          <mediaobject>
            <imageobject>
              <imagedata fileref="images/screenshots/fig01.png"
                format="PNG" align="center" contentwidth="12cm"
                scalefit="1"/>
            </imageobject>
          </mediaobject>
        </figure>                                        

In HTMLHelp (and HTML) I want to use the full size, unscaled
screenshot.  I have tried:

  <xsl:param name='ignore.image.scaling' select="1"/>

in my driver, but I still get explicit widths added to the <img>
elements in the HTML output:

<img src="images/screenshots/fig01.png" align="middle"
 width="425.196850393701" alt="Options Form">

Shouldn't that parameter achieve what I want?  Can someone suggest an
alternative that doesn't involve adding a new <mediaobject> for a HTML
version of every image I use 'scalefit' on?  :-)


-- 
Paul.

mailto:
mailto:
← Prev in month ← Prev in thread