Ok, I tried this and no luck, I don't understand what I am doing wrong?

Xsl:
<img src="images/icons/disabled/keypad.gif" />

Sitemap:

<map:match pattern="**.gif">
<map:read src="images/{1}.gif" mime-type="image/gif"/>
</map:match>
<map:match pattern="images/icons/disabled/**.gif">
<map:read src="images/icons/disabled/{1}.gif" mime-type="image/gif"/>
</map:match>

The images a located in an images folder off of the root from there they
have subfolders in this case icons with a subfolder called disabled.

Thanks 
Tim

-----Original Message-----
From: Geoff Howard [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2003 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Gif image

Well, first of all that image src reference is to the image on your
local
computer - so even if you get it working locally, it won't work for
anyone
but you.  Actually, it starts off that way and then ends with what was 
probably
meant to be the reference to the server location via http.

Second, be sure you have a pipeline set up to serve static content, or
your
webserver/cocoon setup causes static images to be served directly from
the
webserver.

See: http://wiki.cocoondev.org/Wiki.jsp?page=ServingStaticFiles

Geoff Howard

At 11:23 AM 6/10/2003, you wrote:
>I am trying to show an image in my final file.  I am using the
following
>code in my xsl file but when I go to the page as all I get is the blank
>image icon.  Can anyone please help me with my little issue here, I
know
>it is probably a stupid mistake but I have not been able to find it
>anywhere.  Thanks.
>
><img src="C:\Program Files\Apache Group\Tomcat
>4.1\webapps\cocoon\vyzo\images/icons/disabled/keypad.gif" /><br
/>Keypad
>
>Tim Bachta


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

Reply via email to