ImageURL

Discussion in 'ASP .Net' started by Jim McGivney, Jul 2, 2006.

  1. Jim McGivney

    Jim McGivney Guest

    In VWD I have an ASPX page with a asp:image control. If the imageURL is of
    a file whose name is 8 characters or less, the image is displayed. If the
    file name is longer that 8 characters, the image is not displayed. Is there
    a work-around to display an image with a filename longer that 8 characters ?
    Thanks,
    Jim
     
    Jim McGivney, Jul 2, 2006
    #1
    1. Advertising

  2. Jim,

    That's not normal behavior. Images can certainly have more than 8
    characters. I suspect something else is your problem. Do you have spaces or
    symbols in the file name? If so, that can cause issues. You might want to
    experiment with Server.UrlEncode to ensure the file name is valid.
    Here's more info:
    http://msdn.microsoft.com/library/d...html/cbb19811-6ba3-46fe-b324-e0874cfc3382.asp

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://SteveOrr.net



    "Jim McGivney" <> wrote in message
    news:%...
    > In VWD I have an ASPX page with a asp:image control. If the imageURL is
    > of a file whose name is 8 characters or less, the image is displayed. If
    > the file name is longer that 8 characters, the image is not displayed. Is
    > there a work-around to display an image with a filename longer that 8
    > characters ?
    > Thanks,
    > Jim
    >
     
    Steve C. Orr [MVP, MCSD], Jul 2, 2006
    #2
    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. Leigh Kendall

    Hyperlink w/ImageUrl bug?

    Leigh Kendall, Jul 29, 2003, in forum: ASP .Net
    Replies:
    8
    Views:
    508
    John Soulis [MSFT]
    Aug 19, 2003
  2. Christian Pické
    Replies:
    0
    Views:
    429
    Christian Pické
    Nov 6, 2003
  3. Kathy Burke
    Replies:
    0
    Views:
    537
    Kathy Burke
    Nov 14, 2003
  4. Joe
    Replies:
    3
    Views:
    5,126
    Eric Lawrence [MSFT]
    Mar 4, 2004
  5. Edward Yang

    What does ~ stand for in ImageUrl?

    Edward Yang, Jul 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    381
    Cowboy \(Gregory A. Beamer\) [MVP]
    Jul 22, 2004
Loading...

Share This Page