You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jasha Joachimsthal <j....@hippo.nl> on 2006/06/16 22:49:53 UTC
RE: external-graphic> does not work
> -----Original Message-----
> From: kathi.mailbox@web.de [mailto:kathi.mailbox@web.de]
> Sent: vrijdag 16 juni 2006 17:22
> To: users@cocoon.apache.org
> Subject: <fo:external-graphic> does not work
>
>
> Hi everybody,
>
> I'm generating a pdf document by using the fo2pdf serializer.
> I want to embed a gif graphic into my pdf file. But the
> following code does not work:
>
> <fo:block>
> <fo:external-graphic src="room.gif"/>
> </fo:block>
>
> I've read many tips in the web but these code snippets also
> are not working:
>
> <fo:external-graphic src="file:room.gif"/>
> <fo:external-graphic src="url('room.gif')"/>
>
> What is wrong here?
>
> Kathi
>
> P.S. The room.gif graphic is in the same directory as the xsl
> file that produces the fo code!
Yes but for some reasons fop work 'better' if you put the whole uri in the src of an external graphic. So http://my.server.tld/mydir/room.gif even if your xsl is in the same dir.
Jasha Joachimsthal
Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466
www.hippo.nl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org