S
SHB
I need to link to some staff images stored on a hard disk
using a database storing the path to the jpg file. Using
vbscript I thought this would work:
response.write "<p><img border='0'
src='file:///strSource></p>"
strSource being the path stored in the DB.
Unfortunately when I preview this I get the dreaded red x
and the path in the image property sheet shows as
file:///strSource not file:///c:\folder\image.jpg or
whatever the path is.
I know this is my syntax as hardcoding the path works but
I just cant seem to get it.
Can anyone help?
SHB
using a database storing the path to the jpg file. Using
vbscript I thought this would work:
response.write "<p><img border='0'
src='file:///strSource></p>"
strSource being the path stored in the DB.
Unfortunately when I preview this I get the dreaded red x
and the path in the image property sheet shows as
file:///strSource not file:///c:\folder\image.jpg or
whatever the path is.
I know this is my syntax as hardcoding the path works but
I just cant seem to get it.
Can anyone help?
SHB