IMG tag not displaying image

D

David C

I have ASP (classic) code that writes out a table and sets the <img....> tag
with a virtual directory source, e.g. src='/test/imghold/xyz.png', and the
images do not appear on the IE page. The code is from a production site
that works fine. We just duplicated the web site to one named test and now
the images do not display. The IMG item is in a TD element of a table.
Also, I looked at the "view source" of the page and it shows the <IMG
src='/test/imghold/xyz.png'...> just fine. I even tried it with different
images and none of them show up. Can anyone help? Thanks.

David
 
J

Jeff Dillon

Check to make sure both servers have the virtual directories configured the
same

Jeff
 
D

David

They are actually on the same physical server, if that helps. Also, I
did a Server.MapPath("/test/imghold/") on both (other was
/imaging/imghold/) and they both returned the same physical directory.
Both web sites have the same virtual directory named /imghold and both
point to the same physical directory. Another process that physically
creates the image and saves it to that directory prior to the html
display of that image uses the same virtual path.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top