Elitmiar
Elitmiar

Reputation: 36829

Images not displaying in Browser

I have a really weird problem, when I display an image in my web application it does not show, and by using firefox's 9 web developer toolbar it picks up the images as a missing image, when I mannually paste the url in the address bar the image shows up in the browser, this is an gif file

The other weird thing is when I use Firebugs Inspect element tool, the image loads when hovering over the url in Inspect element mode, but for some weird thing is it does not show in my application.

What could be the cause of this?

Code

<a target="_blank" href="http://mysite.com/20029118/default.htm"><img width="125" height="30" border="0" align="left" src="https://mysite.com/imgs/20032459.gif?seq=4f2a75a2" class=" uqasajhiviugcaqbcgzs"></a>

Upvotes: 0

Views: 207

Answers (1)

Anicho
Anicho

Reputation: 2667

<a target="_blank" href="http://mysite.com/20029118/default.htm">

    <img width="125" height="30" border="0" align="left" src="https://mysite.com/imgs/20032459.gif?seq=4f2a75a2" class=" uqasajhiviugcaqbcgzs">

</a>

I can see the issue instantly it's the fact that you have https://, this will only allow the image to load if the site has an ssl certificate applied to it. Most production or development envrionments won't have it applied to the sites because of unnesccesary costs. Change this to http:// then let me know the result.

Two other things to try:

Remove ?seq=4f2a75a2 from image src link, this looks like it may be randomly generated

or

Ask your admin what port is open and in the src try this src="https://mysite.com/imgs/20032459.gif?seq=4f2a75a2:XX

Replace the XX with the port number provided by your admin.

Upvotes: 2

Related Questions