Evert Jor
asked on
Error in ASP script for fetching image file
I'm trying to display a logo situated on my server, but no... I cant figure out what the scipt error is:
Response.write" <img alt="""" height=""85"" src=""file:///C:/inetpub/wwwroot/vet/barcode/logo5paws.jpg"" width=""39"" />;</td>"
Response.write" <img alt="""" height=""85"" src=""file:///C:/inetpub/wwwroot/vet/barcode/logo5paws.jpg"" width=""39"" />;</td>"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Instead of using the full path which may not work, use a relative (to web root) path like below assuming the web root is C:/inetpub/wwwroot/ meaning your index.asp is at C:/inetpub/wwwroot/ndex.asp
Response.write "<img alt='' height='85' src='/vet/barcode/logo5paws.jpg' width='39' />;</td>"
Response.write "<img alt='' height='85' src='/barcode/logo5paws.jpg' width='39' />;</td>"
Open in new window
by the way it has </td> at the end, assuming this is just a code fragments and it is ok...if not, remove that one...
also it has ";" inside...
after all fix
Open in new window