cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jozsa Kristof <dy...@kami.vein.hu>
Subject serving images?
Date Mon, 04 Feb 2002 17:41:15 GMT
Ok, here's a trivial question: how do I serve image files using Cocoon?

I have some html tag in the results of some page, like:
<img border="0" src="/images/company/wtf.jpg">

and in the sitemap's main pipeline (the reader is configured at the top):
<map:match pattern="images/**.jpg">
  <map:read src="/images/{1}.jpg" mime-type="image/jpg"/>
</map:match>


The docs says that's enough, I think this should be enough too. The logs
says: 'org.apache.cocoon.ResourceNotFoundException: Resource not found
file:/images/company/wtf.jpg'. 

What do I miss from here?

Thanks,
Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message