Re: [docbook-apps] Image location

From
Křištof Želechovski <>
Date
2011-09-30T13:43:49+00:00
ID
Thread
Re: [docbook-apps] Image location
Dnia piątek, 30 września 2011 o 12:29:29 Lars Vogel napisał(a):
> Hello,
> 
> I'm trying to create PDF from my Docbook output via the corresponding
> stylesheets but FOP cannot find the image. I read Bobs description and I
> believe the path of the image is correctly setup.
> 
> http://www.sagehill.net/docbookxsl/GraphicsLocations.html
> http://www.sagehill.net/docbookxsl/ModularDoc.html#XIncludeGraphics
> 
> The generated FO source look like the following:
> 
> <fo:block id="d0e101"><fo:external-graphic
> src="url(content/images/DojoFolder10.gif)" width="auto" height="auto"
> content-width="auto" content-height="auto"/></fo:block>

That looks like relative path.

> 
> and files are in the following structure:
> 
> article.fo
> /content/images/DojoFolder10.gif
> 

Did you try setting src="url(/content/images/DojoFolder10.gif)"?

Chris
>