Images not showing

D

David C

I have a new asp.net application with a virtual directory that holds photos
(jpg files). I am trying to display them in a DataList and all I get is the
small red X in upper left of each img control. The images work fine when we
run the application internally, but not when run from the internet.

I am using identity impersonate = true along with a valid user/pw but it
still only shows the red x. Can anyone help me fix this? Thanks.

David
 
D

David C

Should the src= reflect the virtual path or the physical path? Thanks.

David
Eliyahu Goldin said:
Make sure the virtual path to images is correct.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


David C said:
I have a new asp.net application with a virtual directory that holds
photos (jpg files). I am trying to display them in a DataList and all I
get is the small red X in upper left of each img control. The images work
fine when we run the application internally, but not when run from the
internet.

I am using identity impersonate = true along with a valid user/pw but it
still only shows the red x. Can anyone help me fix this? Thanks.

David
 
E

Eliyahu Goldin

virtual

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


David C said:
Should the src= reflect the virtual path or the physical path? Thanks.

David
Eliyahu Goldin said:
Make sure the virtual path to images is correct.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


David C said:
I have a new asp.net application with a virtual directory that holds
photos (jpg files). I am trying to display them in a DataList and all I
get is the small red X in upper left of each img control. The images
work fine when we run the application internally, but not when run from
the internet.

I am using identity impersonate = true along with a valid user/pw but it
still only shows the red x. Can anyone help me fix this? Thanks.

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,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top