![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
As long as I keep graphic files in a folder below the HTML the graphics are found, but the actual location of the graphics are on a different disk. Tried all manner of things, but can't get the graphics to load, so would appreciate some help. Test setup is: D:\Programs\Editor\WebProject\HTML // The code ..\WebProject\HTML\Graphics // Graphics The actual location of the graphics is: F:\Documents\ArtWork What I need to do is get the absolute link to the file correct, so I need some help here. Funny thing is that if the absolute link is a web address it works just fine, but not a Windows file. I agree that placing the graphics either under the HTLM folder or on the same level is a better idea, but that won't happen until all of the art is approved, which won't happen until the demo web page is done. See the problem? Thanks, Dave |
#3
| |||
| |||
|
|
As long as I keep graphic files in a folder below the HTML the graphics are found, but the actual location of the graphics are on a different disk. Tried all manner of things, but can't get the graphics to load, so would appreciate some help. Test setup is: D:\Programs\Editor\WebProject\HTML // The code ..\WebProject\HTML\Graphics // Graphics The actual location of the graphics is: F:\Documents\ArtWork What I need to do is get the absolute link to the file correct, so I need some help here. Funny thing is that if the absolute link is a web address it works just fine, but not a Windows file. I agree that placing the graphics either under the HTLM folder or on the same level is a better idea, but that won't happen until all of the art is approved, which won't happen until the demo web page is done. See the problem? With a *nix system you could use a symbolic link: |
#4
| |||
| |||
|
|
I agree that placing the graphics either under the HTLM folder or on the same level is a better idea, but that won't happen until all of the art is approved, which won't happen until the demo web page is done. See the problem? As Jonathan Little observed, why don't you have a local web server to |
#5
| |||
| |||
|
|
As Jonathan Little observed, why don't you have a local web server to test your code? Using local filesystem paths in an HTML document only means you have additional maintenance problems and opportunities for error. |
#6
| |||
| |||
|
|
Jim Moe wrote: As Jonathan Little observed, why don't you have a local web server to test your code? Using local filesystem paths in an HTML document only means you have additional maintenance problems and opportunities for error. I couldn't agree more. It takes only a few minutes to install the Apache webserver. There are some things that you cannot test using local files. One example is the JavaScript used to manipulate the date of the document itself (for a primitive example see: http://www.swiftys.org.uk/ ). When fetched as a local file, the document.Lastmodified returns nothing useful. |
#7
| |||
| |||
|
|
There are some things that you cannot test using local files. One example is the JavaScript used to manipulate the date of the document itself (for a primitive example see: http://www.swiftys.org.uk/ ). When fetched as a local file, the document.Lastmodified returns nothing useful. |
![]() |
| Thread Tools | |
| Display Modes | |
| |