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]

Reply via email to