thanks for the feedback... >>Strange! Is the a specific reason why you wouldn't consider relative links?
i'm using xp pro and iis only allows 1 website (i know i can change this around but when i'm just working briefly on another project i don't want to be bothered with changing the settings)
in this case i'm running scripts in a virtual folder in the 'local 127.0.0.1' website but i just want to access/view images that are not under the root and i don't want to keep creating virtual folders under the root for the image folders (which would be a solution of course) its easier just to hard code the path into the script page.
the image folders are on seperate drives to the web server.
to be honest i'm not sure what the relative path would be bewteen
127.0.0.1/folder/script.asp (iis located on c drive)
and
d:/folder/image.jpg
would be and indeed if it is possible to link in that way.
>>Since there is normally no way to know on what drive a file will be, using drive-specific urls is lunacy.
yes agreed, but in this case, this app is for my own use on my own local computer and i do know what drives are located on.
victor >> yes pretty much on the money this is just local stuff, when its uploaded to the live server it all links up properly, thanks for the tip, i'll prob just have to upgrade opera been meaning to anyway.
>>You could try setting the base URL in the code at the top
good idea but don't think it will work as i'm trying to access the file system outside of the website root anyway, plus if i set the base to d: for instance all the other links would be thrown off. - could be wrong on that.
the main point is the link DOES work in IE and according to Victor in later versions of Opera, so it prob is a bug that i'll best get around by either using IE when i'm working with this until i upgrade opera.