The error message complains about a missing protocol in the address.

Have you tried: "file:/../../companylogo/url"?

Manuel

-----Original Message-----
From: Troy Bottger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 29 January 2002 0:38
To: '[EMAIL PROTECTED]'
Subject: RE: newbie needs help with relative address for image.


Does this work if I don't call it from a command line?  I have uncommented
the BaseDir in the userconfig.xml and re-ran my application (servlet
application) and I am not seeing that this file is being used.

-----Original Message-----
From: "Buchtík, Michal" [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 8:51 AM
To: '[EMAIL PROTECTED]'
Subject: RE: newbie needs help with relative address for image.


Set the BaseDir in userconfig.xml

Michal

-----Original Message-----
From: Troy Bottger [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 2:27 PM
To: '[EMAIL PROTECTED]'
Subject: 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to