cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From H.vanderLin...@MI.unimaas.nl
Subject HELP weird img display problem
Date Fri, 23 Jan 2004 15:04:11 GMT
Hi,

I don't know what's wrong, but the wrong img is displayed. 
This is the code:

<p class="contentText">powered by<br/>
	<a href="http://OpenEMed.org">
		<img src="resources/images/openemed.gif" width="109"
height="43" border="0"/>
	</a>
</p>
<p class="contentText">
	<a href="http://cocoon.apache.org">
		<img src="resources/images/cocoon.gif" width="110"
border="0"/>
	</a>
</p>
<p class="contentText">Vodafone Mobile Connect Cards provided by
	<a href="http://www.vodafone.nl">
		<img src="resources/images/vodafone.jpg" width="110"
border="0"/>
	</a>
</p>
<p class="contentText">
	Logo background and seasonal pictures from 
	<a style="text-decoration: none"
href="http://www.freefoto.com">FreeFoto.com</a>
</p>
<p class="contentText">
	Layout inspired by <a style="text-decoration: none"
href="http://www.e-informatyka.pl">e-Informatyka</a>
</p>

Sitemap snippet:

   <map:pipeline>
      <!-- ========================================= -->
      <!-- images                                    -->
      <!-- ========================================= -->

      <map:match pattern="**/images/*.gif">
        <map:read mime-type="images/gif" src="images/{2}.gif"/>
      </map:match>
      <map:match pattern="**/images/*.jpg">
        <map:read mime-type="images/jpg" src="images/{2}.jpg"/>
      </map:match>
      <map:match pattern="**/images/*.png">
        <map:read mime-type="images/png" src="images/{2}.png"/>
      </map:match>
      <!-- ========================================= -->
      <!-- CSS stylesheets and JavaScript files      -->
      <!-- ========================================= -->

      <map:match pattern="**/style/*.css">
        <map:read mime-type="text/css" src="styles/{2}.css"/>
      </map:match>
      <map:match pattern="system/*.js">
        <map:read src="system/scripts/{1}.js"/>
      </map:match>
 </map:pipeline>


The first image (openemed) and the third (vodafone) are displayed correctly,
but instead of the cocoon image another (space.jpg) is displayed. I know it
worked at some point in time, and I haven't changed anything on this page
since then. I double-checked all images in the "images" directory and they
are correct (i.e. cocoon.gif is one of the "powered by Cocoon" logos).

Any ideas?

Bye,

Helma van der Linden
Medical Informatics
University Maastricht
POBOX 616
6200 MD Maastricht
The Netherlands
h.vanderlinden@mi.unimaas.nl 

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


Mime
View raw message