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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Sent: 23 January 2006 20:40 > To: [email protected] > 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:[EMAIL > PROTECTED]: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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
