This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Avoid image scaling for HTML output
- From: Bob Stayton <bobs at caldera dot com>
- To: Thomas Singer <thomas dot singer at regnis dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 31 Jan 2003 09:55:53 -0800
- Subject: Re: DOCBOOK-APPS: Avoid image scaling for HTML output
- References: <5.2.0.9.0.20030131155749.00a94ab0@post.strato.de>
On Fri, Jan 31, 2003 at 04:02:44PM +0100, Thomas Singer wrote:
> Hi,
>
> I use the depth parameter of the graphic element to resize my screenshots
> for pdf-output. When I generate HTML output, the image are scaled, too, but
> this looks ugly, because it's done by the browser. I use my own
> transformation stylesheet, that includes html/docbook.xsl. What's the
> easiest way (editing my stylesheet) to generate <img>-tags without the
> height attribute?
Setting the stylesheet parameter 'ignore.image.scaling' to 1
should work. You'll need stylesheet version 1.59.1
or later.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com