[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: is it possible to resize an image to display small

Subject: RE: is it possible to resize an image to display smaller than the original
From: "David Dunkenberger" <dgdunk@xxxxxxxxx>
Date: Mon, 2 Apr 2012 08:00:39 -0400
RE:  is it possible to resize an image to display small
Thank you - will try it out this morning.

-----Original Message-----
From: davep [mailto:davep@xxxxxxxxxxxxx]
Sent: Sunday, April 01, 2012 3:10 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  is it possible to resize an image to display smaller than
the original

On 31/03/12 14:39, David Ryan wrote:
> I changed the xsl to use your suggestion:
>
>   <fo:external-graphic src="file:{/data/Photo}"/>
>
> but when I run it, it doesn't find the image file saying Image not
> available.  I confirmed the image is in the referenced location.  any
> ideas?

http://www.w3.org/TR/xsl/#fo_external-graphic

try
<fo:external-graphic src="url(file.jpg)" /> If you can, make the file relative
rather than absolute and don't have spaces in path or filenames.


Two attributes useful for scaling are
content-height="3" scaling="uniform"
or content-width

HTH



regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.