cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Burm" <hu...@xs4all.nl>
Subject RE: Rendering an image in a pdf file
Date Thu, 15 May 2003 22:41:54 GMT

Sorry for following up on my own message, but I forgot to mention something
that may appear obvious:
If the .png (or .jpg etc.) is located within the realm covered by cocoon, it
must be matched in the sitemap by a map:read, or you will get an error like
"resource not found". See the examples how to include a gif image in your
html.

Hugo

-----Original Message-----

Use the full pathname for the src attribute in your fo:external-graphic
element.

This is working for me:
<fo:block>
  <fo:external-graphic content-type="png" width="240px"
src="http://localhost:8080/cocoon/dg/ima/test.png" /></fo:block>

Hugo Burm


-----Original Message-----
From: Tim Bachta [mailto:tbachta@kopent.com]
Sent: Wednesday, May 14, 2003 8:22 PM
To: cocoon-users@xml.apache.org
Subject: Rendering an image in a pdf file

I am having trouble putting an image in a PDF file.  Has anyone done
this before?  Here is the code from my XSL that I am using.

[code from original message deleted, not well formatted]


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message