cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Lundberg <my.name.is.h...@gmail.com>
Subject Re: FOP pdf / gif image issue with Cocoon 2.1.8
Date Tue, 24 Jan 2006 07:53:16 GMT
... anyway, the reason I thought it was Cocoon, is that version 2.1.7
did not have this problem ...

Hans

On 1/23/06, Jonas Lundberg <my.name.is.hans@gmail.com> wrote:
> Yes, and jpeg images also work fine. It could be a Tomcat issue... Do
> you have the same issue on your system? It works, so I am not that
> concerned, but sometimes one unexpected problem means that other
> problems are to appear...
>
> Regards
> Hans
>
> On 1/23/06, Rob Gregory <Rob@rosesgroup.co.uk> wrote:
> > Web.xml mime mappings sounds like a Tomcat issue rather than Cocoon one. I
> > think you can also supply mime headers via Cocoon during your match but if
> > it works...
> >
> > Does the FOP (PDF) still work as planned when a image is not used?
> >
> > Rob
> >
> > -----Original Message-----
> > From: Jonas Lundberg [mailto:my.name.is.hans@gmail.com]
> > Sent: 23 January 2006 20:40
> > To: users@cocoon.apache.org
> > Subject: FOP pdf / gif image issue with Cocoon 2.1.8
> >
> > I just noticed that FOP pdf generation with GIF images does not work
> > with my Cocoon 2.1.8 installation unless the following is added to
> > web.xml:
> >
> >   <mime-mapping>
> >       <extension>gif</extension>
> >       <mime-type>image/gif</mime-type>
> >   </mime-mapping>
> >
> > In the site map I use:
> >
> > <map:match pattern="flow/readimage/**.gif">
> >   <map:read type="image" mime-type="image/gif "
> > src="http://guest:guest@{request:serverName}:{request:serverPort}/cocoon/web
> > dav/db/contents/gif/{1}.gif"
> > />
> > </map:match>
> >
> > It seems odd that I should have to configure the gif mime type in
> > web.xml for this to work... Is something wrong with my Cocoon
> > installation?
> >
> > Regards
> > Hans
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
>

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


Mime
View raw message