Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 14, 2010 08:58 PM by dzieba
Jan 14, 2010 03:51 PM|LINK
I have an image at this URL:
When I paste this directly into Explorer, it shows the image.
When I have this URL in an image on an ASP page, it doen not get displayed.
You can see it failing here: www.hiddenhollowchr.com . It's the empty image under the manu on the left side of the screen.
The client side code is :
<img title="Strategy horsback competitions"
This points to the correct location.
I am not sure how to get this to work. Is there some setting I should be setting on the server where these images reside?
Jan 14, 2010 04:36 PM|LINK
I attempted to view the image using the URL you have there, but the firewall on the server hosting the file stopped me from directly calling the image URL. This means they don't want people using up THEIR bandwidth for YOUR website.
Common security measure. Copy the image locally into your project and access it that way.
Jan 14, 2010 04:46 PM|LINK
you may have tried it when I was messing with it. Please try again. When I click on the link or paste it into Explorer, it shows. So the server is not denying access to this file.
I am trying to do it this way instead of having the image localy because I want to put that image into other websites without having to copy it localy to their site.
And.. if in the future, I change this brand, I want it to change everywhere that it is inserted instead of having to replace the image on every web site it is on. Like an advertising banner.
Funny thing is that when I swich the IDE to the design view for that page, the designer does retrieve the image. Only when I publish it to the website, I start having issues.
Could it have something to do with the fact that both of the websites are on the same server? Meaning that the image from one website is needed on another website, but both websites are served from the same server, just different virtual paths.
Jan 14, 2010 04:58 PM|LINK
In my case, it is working fine. Please see the attachment and I see EXG logo. Please check online before you run this.
Jan 14, 2010 05:06 PM|LINK
I was able to see the image under the left side menu, I'm using chrome and fire fox, but, looks like IE in not capable of access the file, try tu use a jpg format
Did you leave an attachement with your post? how do I find it? I don't see a link to any attachment on your post.
Jan 14, 2010 05:24 PM|LINK
I have changed the image to a JPG and still the same thing.
I need this file either in PNG or GIF because I need the background transparent.
I have now tried PNG, GIF, and JPG. All three versions are on the web server right not but none of them work in the image.
Jan 14, 2010 05:40 PM|LINK
try to use this code line
<asp:Image ID="Image1" runat="server" ImageUrl="http://www.equinexgames.com/images/ads/exgLOGO.png" />
it works on chrome, firefox & IE
Jan 14, 2010 05:53 PM|LINK
It does not work on my IE. IE8.
Here is the code from the aspx file.
ToolTip="Strategy horsback competitions"
AlternateText="Strategy horsback competitions"
Jan 14, 2010 05:56 PM|LINK
I will suggest you copy the Image file locally to this project.That should help.I also think this is not good design to refer our resource files like that.