I use VS2008 and when I go to the Design Tab instead of the Source Tab so that I can see what the page looks like visualy, the image does display even though it points to the URL. Meaning, that the image is remote. It shows in my IDE but not on the website
even though the URL is exactly the same in both.
Thank you very much for taking an interest. If you look on that website, you will see that there are two empty images. The top one is <asp:image> wrapped in <a>.
The second one is <asp:imagebutton>. This translates to <input type="image"> on the client side.
can u create a aspx page on the same server. and just add <html><body> and <asp:imagebutton> tag inside that..... nothing else (no header... no Javascript)
and can u check if image is being displayed on that form or not.......
just to analyze if other controls in this form are causing this behaviour...
hope this helps...
Cheers!
KK
Please mark as Answer if post helps in resolving your issue
My Site
Could it be with the Hosted Server after all? Can it detect the difference between being asked for the image directly from the explorer, vs. being retrieved from within a web page?
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 07:13 PM|LINK
I don't think so because....
I use VS2008 and when I go to the Design Tab instead of the Source Tab so that I can see what the page looks like visualy, the image does display even though it points to the URL. Meaning, that the image is remote. It shows in my IDE but not on the website even though the URL is exactly the same in both.
what can cause this behavior?
rmpasha
Member
291 Points
97 Posts
Re: Image access problems.
Jan 14, 2010 07:17 PM|LINK
Yes, it is. If you give me email address, I will send you the screen shot.
Thanks
rmpasha
Member
291 Points
97 Posts
Re: Image access problems.
Jan 14, 2010 07:22 PM|LINK
Here is the code.
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <img title="Strategy horsback competitions" src="http://www.equinexgames.com/images/ads/exgLOGO.png" style="height:100px;width:120px;border-width:0px;" /> </div> </form> </body> </html>dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 07:25 PM|LINK
rmpasha,
I believe you that you see the image. You don't need to send me a screenshot to prove it.
Other people are also seeing it and others are not. This is the true problem.
kedarrkulkar...
All-Star
34013 Points
5468 Posts
Re: Image access problems.
Jan 14, 2010 07:42 PM|LINK
now....its really gootan my curiousity....
i cant see that image as well on u r website..... i can locally see that image if refrred in my web site.
can u try to use <input type="image"> instead of <asp:image> or <img> control...
also, right clicking on image and "Show picture" seems displaying image...
KK
Please mark as Answer if post helps in resolving your issue
My Site
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 07:56 PM|LINK
Hi kedarrkulkarni,
Thank you very much for taking an interest. If you look on that website, you will see that there are two empty images. The top one is <asp:image> wrapped in <a>.
The second one is <asp:imagebutton>. This translates to <input type="image"> on the client side.
Neither works.
Here is the codeblock for the two empty spots.
<a href="http://www.equinexgames.com" > <asp:Image Height="100px" Width="120px" ToolTip="Strategy horsback competitions" runat="server" ImageUrl="http://www.equinexgames.com/images/ads/exgLOGO.jpg" AlternateText="Strategy horsback competitions" BorderStyle="None" ID="exgLogo" /> </a> <asp:ImageButton ID="Image1" Height="100px" Width="120px" ToolTip="Strategy horsback competitions" runat="server" ImageUrl="http://www.equinexgames.com/images/ads/exgLOGO.jpg" AlternateText="Strategy horsback competitions" BorderStyle="None" PostBackUrl="http://www.equinexgames.com"/>kedarrkulkar...
All-Star
34013 Points
5468 Posts
Re: Image access problems.
Jan 14, 2010 08:13 PM|LINK
just to trace down the problem further....
can u create a aspx page on the same server. and just add <html><body> and <asp:imagebutton> tag inside that..... nothing else (no header... no Javascript)
and can u check if image is being displayed on that form or not.......
just to analyze if other controls in this form are causing this behaviour...
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 08:21 PM|LINK
yes, I will try this.. but I can't get to this for 3 to 4 hours from now. Please check back and stay with me.
I will post again when I have done this.
Thanks again.
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 08:58 PM|LINK
Hi,
I have put a new file out there as you have advised and still no-joy:
http://www.hiddenhollowchr.com/default2.aspx
Could it be with the Hosted Server after all? Can it detect the difference between being asked for the image directly from the explorer, vs. being retrieved from within a web page?