Images not showing

Discussion in 'ASP .Net' started by David C, Oct 21, 2008.

  1. David C

    David C Guest

    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
    David C, Oct 21, 2008
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    >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
    >
    Eliyahu Goldin, Oct 22, 2008
    #2
    1. Advertising

  3. David C

    David C Guest

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

    David
    "Eliyahu Goldin" <> wrote in
    message news:...
    > 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" <> wrote in message
    > news:...
    >>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
    >>

    >
    >
    David C, Oct 22, 2008
    #3
  4. virtual

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


    "David C" <> wrote in message
    news:...
    > Should the src= reflect the virtual path or the physical path? Thanks.
    >
    > David
    > "Eliyahu Goldin" <> wrote in
    > message news:...
    >> 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" <> wrote in message
    >> news:...
    >>>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
    >>>

    >>
    >>

    >
    >
    Eliyahu Goldin, Oct 23, 2008
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mythran

    Images Not Showing

    Mythran, Jun 4, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    413
    Kevin Spencer
    Jun 4, 2004
  2. lewindha
    Replies:
    1
    Views:
    8,672
    =?Utf-8?B?U21pdGg=?=
    Oct 26, 2004
  3. Replies:
    7
    Views:
    2,518
    Patrice
    Sep 26, 2005
  4. Alex D.
    Replies:
    9
    Views:
    10,521
    Alex D.
    Feb 9, 2006
  5. Ray Booysen
    Replies:
    2
    Views:
    645
    Ray Booysen
    Mar 28, 2006
Loading...

Share This Page