Reference to image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Reference to image

dtrussardi@tiscali.it
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
 
 
 


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside