[Seaside] Reference to image

Dario Trussardi dtrussardi at tiscali.it
Tue Nov 7 17:55:03 UTC 2006


Hello All,
i work with VW7.4.1 and web support.


At my question:

 What do you i need define to reference one image on my local
disk 
C:\images\pippo.png ?

Michel wrote:

< Place the "pippo.png" file into $(VISUALWORKS)/web/examples,
< it will be served with url http://localhost:8008/seaside/pippo.png
< You may build any folder structure from there.
<
< If you really need to place your static files in a specific folder
< you will need to configure your Seaside site using a configure
< file (see the VW documentation) or, programmatically with something
< like that
<
< (VisualWave.WebSite siteNamed: 'seaside') configParameters
< at: 'directory' put: 'c:/seaside'

This solution work fine on the local PC.

But when load the web page in other pc the image is search on this specific pc disk.


And this is not my obiective.

What's the best solution to manage image and StyleSheet  on my local web server ?

Thank,
Dario




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20061107/869f91e0/attachment.htm


More information about the Seaside mailing list