Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Html Pictures Not showing.
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
StarGateSG-1




PostPosted: Wed Mar 08, 2006 8:43 am   Post subject: Html Pictures Not showing.

Hello,
I have a problem with pictures showing on some web pages that me and my class are making.
For some reason some pictures woth correct code, pictures store in the right place, they just don't show up in the web page.

The question is has anyone found anything about pictures just not showing on web pages?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Mar 08, 2006 9:27 am   Post subject: (No subject)

not showing up as completely not there, or a broken image?

Could you upload a zip file with a reprodusable test case?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
StarGateSG-1




PostPosted: Wed Mar 08, 2006 9:48 am   Post subject: (No subject)

I don't think i can reproduce the problem but I can give you a link to the Image I saved.

http://www.hpl.hp.com/research/info_theory/AlbertWeb/fullsize/B)%20Corrupted%20by%20random%20noise,%20bit%20error%20rate%3D0.020.gif
Amailer




PostPosted: Wed Mar 08, 2006 3:09 pm   Post subject: (No subject)

Sometimes, the images get corrupted (oddly)- re-dl the image and rename it, see if that works. Happned to me a couple of times.
[Gandalf]




PostPosted: Wed Mar 08, 2006 4:38 pm   Post subject: (No subject)

I noticed that in IE, if you use an image as a link, the link will not work, while in Firefox it does, I have no idea why.

Of course, that may have nothing at all to do with your problem. Wink
rdrake




PostPosted: Wed Mar 08, 2006 5:27 pm   Post subject: (No subject)

Try setting the src of the image to the full path of the image.
code:
<img src="http://www.blah.com/img/image.png" alt="" />

The problem is most likely with how you specify your paths. Remember that the following two examples are not the same.
code:
/path/to/image
../path/to/image
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: