cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam.kaczm...@gmx.de
Subject Re: Image doesn't display
Date Tue, 11 Mar 2003 22:13:18 GMT
> Hello!
Hi

I am not expert and I cannot point out where your problem
exactly is  anyway I use following pipeline (placed somewhere
at the end of subsitemap)

    <map:pipeline>
      <map:match pattern="**/*.css">
        <map:read mime-type="text/css" src="styles/{2}.css"/>
      </map:match>
      <map:match pattern="**/*.gif">
        <map:read mime-type="image/gif" src="images/{2}.gif"/>
      </map:match>
      <map:match pattern="**/*.jpg">
        <map:read mime-type="image/jpeg" src="images/{2}.jpg"/>
      </map:match>
      <map:match pattern="**/*.js">
        <map:read mime-type="text/plain" src="scripts/{2}.js"/>
      </map:match>
    </map:pipeline>

the images in the xsl (actually part of javascript that is inserted by xslt)

have src attributes like this

var RADIO_ON_IMG = new Image();
RADIO_ON_IMG.src = "images/radio_on.gif";

images are located physicaly in the "images" subdirectory of mounted
subsitemap.

cheers, A.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l├Ącheln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------------------------------------------------
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