> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: vrijdag 16 juni 2006 17:22 > To: [email protected] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
