← Prev in month
← Prev in thread
Next in thread →
Next in month →
Re: [docbook] Re: More customisations - scaling images
Hi, The only problem I've found, and I've read that page a couple of times, is that it scales all images. I'd only like images which are too large to be scaled. Perhaps this entails customising the stylesheet to use a "if x:getWidth() > 700px" sort of thing? I physically resized the images, as I figure this is probably a better solution (better quality rescale, and save bandwith). Thanks for the response, Aidan On Tue, 7 Dec 2004 18:12:03 -0800, Bob Stayton <> wrote: > > I think Norm is referring to the imagedata reference page in his DocBook: > The Definitive Guide: > > http://docbook.org/tdg/en/html/imagedata.html > > > > Bob Stayton > Sagehill Enterprises > DocBook Consulting > > > ----- Original Message ----- > From: "Norman Walsh" <> > To: "Aidan Lister" <> > Cc: <> > Sent: Monday, December 06, 2004 4:47 PM > Subject: [docbook] Re: More customisations - scaling images > > / Aidan Lister <> was heard to say: > | I've been hunting around, but I'm unable to find a way to > | automagically scale all images to a maximum width. Is there a > | parameter for this in the docbook xsl? > > This depends in part on your formatter, but if you set the > scale/scalefit parameters appropriately, that's the result you should > get. Uhm, I know I wrote up a fairly complete description of how all > these parameters interact with a bunch of sample images, but I can't > put my hands on it right now. (I'm at 35,000 feet.) > >
← Prev in month
← Prev in thread
Next in thread →
Next in month →