Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Image Doesn't Load

Recommended Posts

Hi,

Never hapened to me since HTML was invented. I've got a webpage ( h.shtml - I've also tryed .htm, .html ) with the following code:

Code:

<html><head><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Horoscope</title></head><body><div align="center">  <center>  <table border="0" cellpadding="2" cellspacing="4" style="border-collapse: collapse" bordercolor="#FFFFFF" width="500" id="AutoNumber1">    <tr>      <td width="100%" colspan="2">      <p align="center"><img border="0" src="pic_01.gif" width="500" height="540"></td>    </tr>    <tr>      <td width="50%"> </td>      <td width="50%"> </td>    </tr>    <tr>      <td width="50%"> </td>      <td width="50%"> </td>    </tr>  </table>  </center></div></body></html>



pic_01.gif is in the same directory. But the browser doesn't show it - it stays in "download mode", as if it was fetching the image from another server instead of my local computer... If I use another image, everything's allright.

Is there a logical explanation for this?

Share this post


Link to post
Share on other sites

Is there a logical explanation for this?

196887[/snapback]


Computers ( and females ) have the ability to defy 'logic' . Some things are just the way they are because that is how is works. Accept that "pic_01.gif" doesn't work and rename it???

 

Seriously, though, I wonder if that is a 'reserved name' in the Frontpage software? or in the browser you are using? Try changing browsers??? And from what you are showing on the posting, why are you using the Frontpage thingy? There isn't enough complexity there to not be able to hand code the page.. JMHO

 

Just noticed that the gif is 540 high by 500 wide. That'll take a while to load. Are you being patient with it? Allowing it time to be downloaded? That could be a part of the problem, too.

 

-----

Edited by Dooga (see edit history)

Share this post


Link to post
Share on other sites

Frontpage has a habit of changing file paths and other random stuff when you save a page. Try saving it, then opening it in Notepad and checking the path remains the same. If it does then just copy all the code, stick it in a new Notepad doc and save it over the original. Also, as jlhaslip suggested, try renaming the file to some other name.

Share this post


Link to post
Share on other sites

Computers ( and females ) have the ability to defy 'logic' . Some things are just the way they are because that is how is works. Accept that "pic_01.gif" doesn't work and rename it???

 

Seriously, though, I wonder if that is a 'reserved name' in the Frontpage software? or in the browser you are using? Try changing browsers??? And from what you are showing on the posting, why are you using the Frontpage thingy? There isn't enough complexity there to not be able to hand code the page.. JMHO

 

Just noticed that the gif is 540 high by 500 wide. That'll take a while to load. Are you being patient with it? Allowing it time to be downloaded? That could be a part of the problem, too.

 

-----

196909[/snapback]

Agree you shuld let it load first, it may take 3-5 min if you have 25kbs connection type so be patient. And if it issent loading just try to rename it.

 

Beacuse I dont think there is more sulutions.

Share this post


Link to post
Share on other sites

the problem would be this line

<p align="center"><img border="0" src="pic_01.gif" width="500" height="540">
changed it with that then refresh to see if something will happen
<p align="center"><img border="0" src="pic_01.gif" width="500" height="540"></p>
i just suggested you use xhtml 1.0 or xhtml 1.1 to design,use css layouts instead of tabel tag

Share this post


Link to post
Share on other sites

the problem would be this line

<p align="center"><img border="0" src="pic_01.gif" width="500" height="540">
changed it with that then refresh to see if something will happen
<p align="center"><img border="0" src="pic_01.gif" width="500" height="540"></p>
A missing </p> tag's not going to stop an image from displaying.

Share this post


Link to post
Share on other sites

if you don't have the </p> tag the image may not center in some browsers, but that shouldnt stop the image from showing. However try removing the <P> tags all together and adding align="center" to the <TD> tag. This may fix the problemAnother mistake may be that the image is not even a GIF image, check that as well

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.