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 FOP pdf / gif image issue with Cocoon 2.1.8
Date Mon, 23 Jan 2006 20:40:22 GMT
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/webdav/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


Mime
View raw message