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.
Wil
Please click 'Mark as Answer' if reply assisted you.
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools." ~ Douglas Adams
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.
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
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.
dzieba
Contributor
2670 Points
602 Posts
Image access problems.
Jan 14, 2010 03:51 PM|LINK
I have an image at this URL: http://www.equinexgames.com/images/ads/exgLOGO.png
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" src="http://www.equinexgames.com/images/ads/exgLOGO.png" style="height:100px;width:120px;border-width:0px;" />
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?
Please help.
thank you
image asp URL content
pixelsyndica...
Star
7826 Points
1344 Posts
Re: Image access problems.
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.
Wil
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools." ~ Douglas Adams
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
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.
rmpasha
Member
291 Points
97 Posts
Re: Image access problems.
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.
andresurena
Member
48 Points
11 Posts
Re: Image access problems.
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
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 05:06 PM|LINK
Hi rmpasha,
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.
thanks
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
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.
andresurena
Member
48 Points
11 Posts
Re: Image access problems.
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
dzieba
Contributor
2670 Points
602 Posts
Re: Image access problems.
Jan 14, 2010 05:53 PM|LINK
It does not work on my IE. IE8.
Here is the code from the aspx file.
<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" />
</a>
bam_usic
Member
4 Points
17 Posts
Re: Image access problems.
Jan 14, 2010 05:56 PM|LINK
Hi,
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.
Thanks,