Re: ASP.NET Images are not displayed



Hi Gary,

All I'm doing is adding these (tried both):

<img src="App_GlobalResources/images/logo.gif" />
<asp:Image ID="Image1" ImageUrl="~/App_GlobalResources/images/logo.gif"
runat="server" />

Neither works. The URL resolves correctly, if I look at the page rendered
and check the properties of the placeholder. I've tried putting the image
in another directory, including the root in case it was a permission issue.
No dice.

Regards,

Richard Hein


""Gary Chang[MSFT]"" <v-garych@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:BfctyRd4FHA.1172@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Richard,
>
>>Hi, I have a problem with the standard Image controls
>>and img tag. The images are being displayed in the
>>designer, but not when I view the page.
>
> Would you please tell me how do you specify the picture's location in your
> web page?
>
> You need to specify a URL addess of your target picture file in the web
> page's img tag, providing a local path will not work when you browse that
> page in a Browser...
>
>
> Thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Community Support
> --------------------
> Get Secure! ¡§C www.microsoft.com/security
> Register to Access MSDN Managed Newsgroups!
> http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
> &SD=msdn
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>


.



Relevant Pages

  • Re: Multible configuration IDs in WEBTEMPSPSxxx.XML
    ... Has anybody out there ever used the URL tag with any luck? ... specify the URL? ... Basically the two templates differs only ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: HTML Paragraph question
    ... Regards ... > Hi de Jager, ... > Browsers display the tag with some space between if you dont tell them ... > if you want to keep the tag. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Filling Text from Another File
    ... you are using because you didn't specify (I don't think, atleast): ... Dave ... >> Regards, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Allen: TechQ
    ... > specify a writeable drive, like C:, for the changed version. ... > regards, Fred ... guess I am getting back into the UNIX era. ... that is why I miss the o/s I ...
    (misc.news.internet.discuss)
  • Re: Modality parameter in C-FIND
    ... CFind works on the Heirarchical search model and in the case of the ... In order to specify a wildcard at ... case Modality is a series level tag therefore you have to have Unique ... The modality tag is getting ignored. ...
    (comp.protocols.dicom)