cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shai200 <>
Subject ImageReader displays path instead of image. Very annoying.
Date Mon, 12 May 2008 00:19:04 GMT

I'm using the following ImageReader component configuration:
	<map:readers default="resource">
	  <map:reader name="image" src="org.apache.cocoon.reading.ImageReader"
logger="sitemap.reader.image" pool-max="32"/>

And the following pipelines:

<map:match pattern="img/*.jpg">
<map:read type="image"  src="resource/img/{1}.jpg" mime-type="image/jpeg" />
<map:match pattern="img/*.gif">
  <map:read type="image"  src="resource/img/{1}.gif" mime-type="image/gif"

And instead of showing me the image, it shows me the absolute path of the
image... This is very annoying. How do I fix this? 
View this message in context:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message