![]() |
Images not showing
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 |
Re: Images not showing
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" <dlchase@lifetimeinc.com> wrote in message news:OZFvY58MJHA.5228@TK2MSFTNGP06.phx.gbl... >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 > |
Re: Images not showing
Should the src= reflect the virtual path or the physical path? Thanks.
David "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in message news:OO5jvwENJHA.1612@TK2MSFTNGP03.phx.gbl... > 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" <dlchase@lifetimeinc.com> wrote in message > news:OZFvY58MJHA.5228@TK2MSFTNGP06.phx.gbl... >>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 >> > > |
Re: Images not showing
virtual
-- Eliyahu Goldin, Software Developer Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin "David C" <dlchase@lifetimeinc.com> wrote in message news:ePmkohGNJHA.1156@TK2MSFTNGP04.phx.gbl... > Should the src= reflect the virtual path or the physical path? Thanks. > > David > "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in > message news:OO5jvwENJHA.1612@TK2MSFTNGP03.phx.gbl... >> 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" <dlchase@lifetimeinc.com> wrote in message >> news:OZFvY58MJHA.5228@TK2MSFTNGP06.phx.gbl... >>>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 >>> >> >> > > |
| All times are GMT. The time now is 02:10 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.