cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naquin, Beth" <Beth.Naq...@morpho.com>
Subject RE: image and relative path issue
Date Tue, 16 Jul 2002 18:11:35 GMT
I really don't know. I use IE and I don't have a 'show image' option when I
right click on images. Maybe it is the browser you are using or a browser
setting?

-----Original Message-----
From: Barbara Post [mailto:babs33@ifrance.com]
Sent: Tuesday, July 16, 2002 11:05 AM
To: cocoon-users@xml.apache.org
Subject: Re: image and relative path issue


RE: image and relative path issueok, I did as indicated :
src="../../images/menu.gif" in my stylesheet, but the images does appear
only when I right-click and do "show image". what's wrong ?

thx
----- Original Message -----
From: Naquin, Beth
To: 'cocoon-users@xml.apache.org'
Sent: Tuesday, July 16, 2002 7:47 PM
Subject: RE: image and relative path issue


try looking at this mail
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102434844115169&w=2
-----Original Message-----
From: Barbara Post [mailto:babs33@ifrance.com]
Sent: Tuesday, July 16, 2002 10:42 AM
To: cocoon-users@xml.apache.org
Subject: image and relative path issue


I have a problem with images / css.
I use a pipeline for them but it doesn't seem to work.
images are in <webapp-root>/images.
pipeline for .gif :
 <map:match pattern="**/images/*.gif">
    <map:read mime-type="image/gif" src="/images/{2}.gif"/>
   </map:match>
a request for index.* then a xsl stylesheet using : <img
src="images/menu.gif"/>
creates an image path ok : <webapp-root>/images/menu.gif (in the html output
: src="images/menu.gif")
but the picture does not show up, however when I right-click it and choose
"show image" the picture comes to view.
second case : a request for first/second/*. xsl stylesheet : <img
src="images/menu.gif"/>
image path by right-click on the (broken) picture :
<webapp-root>/a/b/images/menu.gif
in the html output : src="images/menu.gif".
so how can I tell my pipeline that it has to look for pictures in the
webapp's root/images folder, whatever the depth of the request ?
thanks,
Babs




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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