|First you should decide on a location in your Web tree where you want to keep your images. For the purposes of this example, let's assume that you chose the images sub-directory of your Web root (e.g. c:\inetpub\wwwroot\images\). You can verify that your Web server is configured properly and that your URL is correct by typing the following URL in your browser's location bar: http://ServerName/images/david.jpg (don't forget to replace ServerName with the Internet name of your server). If this works, then in FoxWeb you should be able to simply include an absolute path to the same location (everything after the server name). In this particular case, the correct URL from a FoxWeb script would be: <img src="/images/david.jpg">.|
FoxWeb Support Team
Sent by Carlos Fuertes on 10/25/2002 11:37:10 AM:Hello,
I'm a Foxweb "rookie" and I got probably the silliest question:
How can I put an image (David.jpg, or David.gif) in my Foxweb script?
I have tried next code:
Following indications of Foxweb Support, this should work fine if I allocate the file "David.jpg" in my Web root images folder(C:\inetpub\wwwroot\images). I have tried it, and I have also tried allocating it directly into C:\inetpub\wwwroot, but it doesn't work (I just see a shape instead of the image).
I wold be grateful if someone could explain me how can I do it right. A little sample with some code and explanation about the allocation of the image files would be welcome!
I' using Foxweb 2.0, Windows XP Professional and IIS.
Thanks for your help!