Jeff brought next idea :
> I've tried them and they don't work...
>
> Now I try
> <asp:Image ID="Image1" ImageUrl="~/Images/logo.jpg" runat="server" /> which
> does not work 
> I specified the ImageUrl value by using the dialog that appear when I press =
>
> Not sure it has something to do with this problem but in IE7 (I'm testing
> against IE7) a yellow line with this message appear at the top : "Intranet
> settings are now turned off by default. Intranet settings are less secure
> than Internet settings"
>
> any sugestions?
>
I don't think it has anything to do with those "intranet settings".
Try and view the generated HTML (View Source in IE), locate the <img>
tag and see what the URL is. Is the image really at that location?
Maybe (just a guess) the root of your application is not where you
expect it to be?
Hans Kesting
>
>
> "George" <> wrote in message
> news:...
>> <img src="~/Images/logo.jpg" />
>> that is why you get broken image
>> ~ symbol only works with server controls.
>> so
>> <img src="~/Images/logo.jpg" runat=server/>
>> will work
>> but try
>> <img src="/ProjectName/Images/logo.jpg" />
>>
>>
>>
>> George.
>>
>>
>> "Jeff" <> wrote in message
>> news:...
>>> hi
>>>
>>> asp.net 3.5
>>>
>>> When running my Default.aspx page I get a broken image. I don't know why I
>>> get "broken image". The image is in ~\Images\ I've also used
>>> ="../Images/logo.jpg" to access the image...
>>>
>>> <table style="width:100%;">
>>> <tr>
>>> <td>
>>> <img src="~/Images/logo.jpg" />
>>> </td>
>>> <td>dfh</td>
>>> <td>dfghdgh</td>
>>> </tr>
>>> </table>
>>>
>>>
>>> any suggestions
>>>
>>>
>>