Hi pjmorce,

Assuming TstFOP.jar is on the server and found by your application server, what 
happens if you use

<fo:block>
  <fo:external-graphic src="url('file:TstFOP.jar!/img/logo.gif')"/>
</fo:block>


Mit freundlichen Grüßen

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de


-----Ursprüngliche Nachricht-----
Von: pjmorce [mailto:[email protected]]
Gesendet: Donnerstag, 18. Februar 2010 11:47
An: [email protected]
Betreff: Re: [ERROR] Image not found


I tried your suggestion:

in the XSL I have now the following code and the problem remains:

<fo:block>
  <fo:external-graphic src="url('file:/img/logo.gif')"/>
</fo:block>

However, i also tried to put this and it worked:

<fo:block>
  <fo:external-graphic
src="jar:file:///D:/eclipse_galileo/eclipse/TstFOP/TstFOP.jar!/img/logo.gif"/>
</fo:block>

It worked, but obvious reasons I cannot put this on the XSL that will be on
production... :(



Hi,

It is more of a URL problem, try pass URL 'file:/img/logo.gif' instead
of relative path.

Thanks,
Venkat.

philippe voncken wrote:
> Hi,
>
> you must implementing the UriResolver and set your fopFactory with it.
>
> fopFactoy.setUriResolver()
>
> regards,
> Philippe
>

--
View this message in context: 
http://old.nabble.com/-ERROR--Image-not-found-tp27636263p27637052.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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

Reply via email to