Image is Not Displaying RRS feed

  • Question

  • I have placed following image on webfor image is displaying in my machine when i launched same project in windows server2008-IIS7.5 the image is not displaying i ket the image in root folder of site.Can any one help me on this i am held up here since long time,I tested in IE8 and Mozilla3.6

    <asp:LinkButton ID="LinkButton2" runat="server" style="text-align:Center; margin-left: 21px;" 
            Width="147px" Height="40px"><asp:Image ID="Image1" ImageUrl="../Images/logo.jpg" runat="server" Height="50px" 
         Width="140px" />
    • Moved by Kee Poppy Tuesday, February 1, 2011 6:47 AM (From:Visual Basic General)
    Monday, January 31, 2011 5:36 AM

All replies

  • Your imageurl is pointing to "Images/logo.jpg"

    So under root site, create a folder named "Images" and place the image there.


    [MVP Visual C#]
    Dot Net Goodies
    Don't hate the hacker, hate the code
    Monday, January 31, 2011 5:43 AM
  • In Addition from A.M.A.L 

    The root is the point your program direct to, in debug is that by the Casini webserver, in runtime by IIS webserver. 

    However, it is named the virtual path.


    Monday, January 31, 2011 6:36 AM