on 9/22/2000 12:43 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:

> Another quick question: if I have a screen template
> with code such as:
> 
> <a href="foo"><img src="bar.jpg"></a>
> 
> Where does WM go looking for the image file bar.jpg?

WM doesn't *look* anywhere...it doesn't serve your images, your web server
does...think about how images are sent for a second.

> This is a problem because the URL for the template
> does not really map to a physical disk location, so it
> is kind of weird to use something like
> 
> <img src="../../../images/bar.jpg">
> 
> Am I making any sense here? One of the problems I'm
> facing is developers who want to be able to open the
> WM templates with an HTML editor and actually SEE the
> embedded images...

It needs to be rooted at /.

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to