You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "J.Pietschmann" <j3...@yahoo.de> on 2003/11/08 19:29:48 UTC
Re: problem embedding images
Ashish Kumar wrote:
> i want to simply embed an image in my pdf document.
...
> Where can be the mistake in this simple code?
See
http://xml.apache.org/fop/faq.html#graphic-not-displayed
Either use an absolute URL for the external image, or provide
a baseDir or baseURL in the FOP configuration you supply in
the site map (or Cocoon config).
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: problem embedding images
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Ashish Kumar wrote:
> but i can't get
> where to configure base dir. in cocoon ?
Write a FOP configuration file (the URL I posted has hints). In the
Cocoon conf, or whereever the pdfserializer is declared, tell the
serializer to use it.
See also
http://cocoon.apache.org/2.1/userdocs/serializers/pdf-serializer.html
in particular
#Create+a+custom+configuration+file
and
#Sitemap+and+fo2pdf+serializer.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: problem embedding images
Posted by Ashish Kumar <ng...@iitr.ernet.in>.
hi there,
thanks, i got it working by using absolute URL. but i can't get
where to configure base dir. in cocoon ?
ashish
On Sat, 8 Nov 2003, J.Pietschmann wrote:
> Ashish Kumar wrote:
> > i want to simply embed an image in my pdf document.
> ..
> > Where can be the mistake in this simple code?
>
> See
> http://xml.apache.org/fop/faq.html#graphic-not-displayed
>
> Either use an absolute URL for the external image, or provide
> a baseDir or baseURL in the FOP configuration you supply in
> the site map (or Cocoon config).
>
> J.Pietschmann
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org