Altova Mailing List Archives

Re: [xsl] is it possible to resize an image to display smaller than

From: David Ryan <dgdunk@-----.--->
To: xsl-list@-----.------------.---
Date: 4/2/2012 3:13:00 PM
Thank you.  I've not tried the scaling yet as I can't get the image to
display.  I keep getting:

Apr 2, 2012 10:05:14 AM bind
SEVERE: Image not available: No ImagePreloader found for

Here is the line in the xml: (which the image changes w/ every new xml).


and here is the xsl:

<fo:external-graphic src="'url({photo})'"/>

Many thanks for the replys and my apologies as I am trying to learn
this "on the fly" unfortunately.


On Sun, Apr 1, 2012 at 3:09 AM, davep <davep@d...> wrote:
> 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?
> 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
> regards
> --
> Dave Pawson
> --~------------------------------------------------------------------
> XSL-List info and archive:
> To unsubscribe, go to:
> or e-mail: <mailto:xsl-list-unsubscribe@l...>
> --~--

XSL-List info and archive:
To unsubscribe, go to:
or e-mail: <mailto:xsl-list-unsubscribe@l...>


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.