Images disappeared

Discussion in 'ASP.NET / ASP.NET Core' started by quazter, Sep 23, 2011.

  1. Images on my websites top header disappeared at runtime even though I never made any changes. I have pasted the .aspx markup from the master page below. The code in RED is the one that no longer renders. Please help. It was working fine until a couple of hours ago.

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head runat="server">
    <title></title>
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
    <asp:ContentPlaceHolder ID="HeadContent" runat="server">
    </asp:ContentPlaceHolder>
    </head>
    <body>
    <form runat="server">
    <div class="page">
    <div class="header">
    <div class="title">
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx" BorderStyle="None">
    <asp:Image ID="logo" runat="server" ImageAlign="Right"
    ImageUrl="~/images/logo.jpg" BorderStyle="None" /></asp:HyperLink>
    </div>
    <div class="clear">
    <asp:Image ID="ComingSoonBanner" runat="server" ImageAlign="Right"
    ImageUrl="~/images/ComingSoonBanner.jpg" />
    </div>
    </div>
    <div class="main">
    <table>
    <tr>
    <td width="100px" valign="top">
    <asp:Menu ID="Menu1" runat="server">
    <Items>more code follows , which works fine.
     
  2. There's nothing wrong with the markup you posted so it must be something else causing this. The jpgs are in the images folder?
     

Share This Page