I wrote this in my main sitemap
<map:pipeline>
<map:match pattern="wfm/images/*.gif">
<map:read src="workflowmanager/images/{1}.gif"
mime-type="image/gif"/>
</map:match>
</map:pipeline>
and in my pages I call the image with : src="images/aaa.gif"
Thanks stavros!
Maxime
-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
.org]
Sent: Wednesday, April 09, 2003 4:58 PM
To: [EMAIL PROTECTED]
Subject: RE: XSL images
in the main sitemap.
-----Original Message-----
From: Stavros Kounis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 09, 2003 4:55 PM
To: [EMAIL PROTECTED]
Subject: RE: XSL images
this entry (<map:match..)
is in cocoon's main sitemap or in a sub-sitemap?
stavros
On Wed, 9 Apr 2003 [EMAIL PROTECTED] wrote:
> I set this in the pipeline :
> <map:match pattern="images/*.gif">
> <map:read src="workflowmanager/images/{1}.gif"
> mime-type="image/gif"/>
> </map:match>
>
> on my computer : "./cocoon/workflowmanager/images/abc.gif"
> then in my xsl I have : <img src="images/abc.gif"/>
>
> but the images path still isn't valid (on my page I get
> ".../cocoon/wfm/images/abc.gif")
>
> (wfm is the web name for workflowmanager)
>
> -----Original Message-----
> From: Stavros Kounis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 09, 2003 4:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: XSL images
>
>
>
>
>
> first of all try to ask your image directly to check if you can get it
> or you need to make changes in your sitemap
>
> for example
> i have my images into
>
> www/htdocs/themes/images/
>
> and my sitemap.xmap
>
> www/conf/
>
> ---- sitemap match pattern ---
>
> <map:match pattern="images/*.*">
> <map:read src="../htdocs/themes/images/{1}.{2}"
> mime-type="image/gif"/>
> </map:match>
> <map:match pattern="themes/images/*.*">
> <map:read src="../htdocs/themes/images/{1}.{2}"
> mime-type="image/gif"/>
> </map:match>
>
> -------
>
> so i can get images with 2 ways
>
> <img src="images/myimage.gif" ...>
> or
> <img src="themes/images/myimage.gif" ..>
>
> ------
>
> notice that the src path in map match is relative to where
sitemap.xmap
> is
>
>
> -- stavros
>
> On Wed, 9 Apr 2003 [EMAIL PROTECTED] wrote:
>
> > Hi,
> > How work the images path? I have an xsl stylesheet with a image, but
I
> > can't display the image, I tried everything, please help!!!
> >
> > simply : <img border="0" src="t_rgb3.gif"/> <---where is the src
path?
> > at the cocoon root? the xsl root dir? or xsp root dir?
> >
> > THanks
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]