Bug 9583 - relative Link to images
Summary: relative Link to images
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: images (show other bugs)
Version: 0.20.3
Hardware: Other All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-03 18:25 UTC by Yevgen Ishchenko
Modified: 2012-04-01 13:49 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yevgen Ishchenko 2002-06-03 18:25:37 UTC
Dear Sirs,

I tried to embed Fop-0.20.3 into my Web-application
(this application works under Tomcat-4.0.4).

I have a problem with link to images while creating a PDF file.

In my FO file I've used tag:
****
 <fo:external-graphic src="image.gif"/>
****

And I received Error message:
*****
ERROR   10231   [fop     ] (): Error while creating area : Error with image URL:
 image.gif (The system cannot find the file specified) and no base directory is
specified
*****


If I try the same without Tomcat but in COMMAND window - it works.

Could you tell me, please, how can I use relative links in FOP?

Regards,
Yevgen
Comment 1 Oleg Tkachenko 2002-11-13 19:06:11 UTC
Relative pathes are resolved relative to baseDir property. You can set it either
in userconfig.xml or using Configuration class (see faq).
Comment 2 Glenn Adams 2012-04-01 13:49:17 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs