cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuan Luu" <tuan...@gmx.ch>
Subject Re: fo2pdf image problem
Date Thu, 01 Apr 2004 22:29:17 GMT
Hello Sebastien
Thanks for the tip, but it solved only partially the problem. Because I'm
using self signed (own CA) certificates (https), he refused to show the image.
(I've found that in another post from a mailing). So I've put the
external-graphic source to a normal http uri, and that worked. 

good day

Tuan

> You must param the file fop-config.xml in /Cocoon/Web-inf with a key
> baseDir
> For example:
> <key>baseDir</key>
>   <value>http://localhost:8080/cocoon/ImpressionLiasse/</value>
> The baseDir must be the root directory where you find your images. So you
> adress relatively your images. For example
> <fo:external-graphic src="url('./rondhaut.gif')"/>
> if the images is stocked in the root directory "ImpressionLiasse".
> 
> Within this modification Cocoon can't resolve url.
> 
> Good Luck
> Sebastien
> 
> 
> ----- Original Message -----
> From: "Tuan Luu" <tuanluu@gmx.ch>
> To: <users@cocoon.apache.org>
> Sent: Thursday, April 01, 2004 1:10 PM
> Subject: fo2pdf image problem
> 
> 
> > hello
> > I'd like to use some images in the pdfs, but it doesn't work.
> >
> > what I did so far:
> >
> >
> >         <fo:block>
> >             <fo:external-graphic src="url('logo_small.png')"/>
> >          <!--
> > https:/b0d08602/scweb/images/logo_small.png
> > images/logo_small.png
> > -->
> >         </fo:block>
> >
> > Msg: Error with image URL: xy  No such file or directory) and no base
> URL
> is
> > specified
> > can be found in the error.log
> > Is there something wrong how I insert the path? when I enter the URL in
> the
> > browser, I can see the image, and I've put the nesescary lines in the
> sitemap
> > so cocoon can recognize this file types.  In xslt the images are showing
> > (there I use a img tag).
> >
> > Is there maybe a problem because I use apache and mod_jk2 to connect to
> > tomcat?
> >
> > thanks for any help
> >
> > --
> > +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz
> +++
> > 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


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


Mime
View raw message