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 Manuel Mall <MM...@arcus.com.au> on 2000/08/18 06:06:49 UTC

FOP fo:display-graphic how?

> Has any one a working example on how to embed a GIF or JPEG file using
> FOP. I tried to check the archives for hints but they are still down.
> 
> I experimented with various variants of this:
> 
...
> <fo:block><fo:display-graphic
> href="file:/usr/local/src/jakarta-tomcat/webapps/samples/fo/cocoon.jpg"/><
> /fo:block>
...

> including using the inline-graphic tag, using a http:// url instead of a
> file:/ url, ...
> 
> I do get various different results ranging from a Cocoon stack trace, to a
> blank page in the browser, to a page in the browser with a little icon in
> the top left corner.
> 
> The fo examples (all without graphics) in Cocoon work fine. So I am pretty
> confident it is not an installation issue.
> 
> Thanks
> 
> Manuel