You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by MEMMADI Said <sa...@renault.com> on 2001/10/10 08:29:22 UTC

Invalid Image URL - error on relative URL : no protocol

Hi all,

I have the folowing error with fop 0.20.1

Error while creating area : Invalid Image URL - error on relative URL : no protocol: 
null./images/mypicture.png

In my xsl file :
<fo:external-graphic src="file:.\images\mypicture.png"/> or 
<fo:external-graphic src="file:images\mypicture.png"/>

Thanks in advance.



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Invalid Image URL - error on relative URL : no protocol

Posted by Amit <ak...@uhc.com>.
If on Windows do this:

file:C:\path\some.gif

If on Unix like OS do this

file:///www/images/some.gif


Amit

MEMMADI Said wrote:

> Hi all,
>
> I have the folowing error with fop 0.20.1
>
> Error while creating area : Invalid Image URL - error on relative URL : no protocol:
> null./images/mypicture.png
>
> In my xsl file :
> <fo:external-graphic src="file:.\images\mypicture.png"/> or
> <fo:external-graphic src="file:images\mypicture.png"/>
>
> Thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org