cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@hippo.nl>
Subject RE: external-graphic> does not work
Date Fri, 16 Jun 2006 20:49:53 GMT
> -----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


Mime
View raw message