You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Troy Bottger <TB...@CommercialWare.com> on 2002/01/28 14:27:17 UTC
newbie needs help with relative address for image.
Everything in my XSL/FO is working perfectly except my images. The address
I am supplying is a relative address (that works if I use HTML), but does
not
work if I use XSL/FO to PDF. I have read the archives, and I am not finding
any solutions to this problem. Can anyone tell me what I am doing wrong?
<fo:external-graphic height="24mm" width="66mm" src="{../companylogo/url}"/>
/companylogo/url gets translated into: abc\images\merchant_logo.gif
If I use a full path, ie. (c:\xyz\htdocs\abc\images\mechant_logo.gif) it is
fine. It is just when I specify the relative address when I get:
Error while creating area : Invalid Image URL - error on relative URL : no
protocol: null/abc/images/merchant_logo.gif
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
RE: newbie needs help with relative address for image.
Posted by Rob Smith <ro...@ifrsys.com>.
> From: Troy Bottger
>...
> <fo:external-graphic height="24mm" width="66mm"
src="{../companylogo/url}"/>
> It is just when I specify the relative address when I get:
> Error while creating area : Invalid Image URL - error on relative URL : no
> protocol: null/abc/images/merchant_logo.gif
Try src="file:{../companylogo/url}"
--
Rob Smith
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org