Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
Thread Tools
Old 10-21-2006, 07:17 AM   #1 (permalink)
Registered User
 
Join Date: Sep 2006
Posts: 21
OS: XP


Red X's where pictures should be!

Hi,
Extreme HTML Noob here.

I have slowly been learning the 'very basics' of creating a website. I have managed to upload and view basic pages with text and links, etc; however I cannot display pictures.
I have uploaded both jpegs and gifs which reside in the same directory as the pages themselves. When the page displays, all I get is a small box with a red cross in the top left corner where the picture should be. I have tried putting both the filename only in the HTML code and also the filename with its full address in the code, but it is still not displaying.
Does anyone have any pointers as to why this is not working?

As an extra point, I tried viewing my webpage from work instead of my home pc. This too does not show the pictures, just the boxes with the red cross; which makes me think it's something to do with the way the code is referencing the picture.
If I right click on the picture location in the page and access 'properties', it comes back with the following info:-
Protocol : Hyper Text Transfer Protocol
Type : Not Available
Address URL : http://freespace.virgin.net/mj.dean/earth.gif
Size : Not Available
Dimensions : 300 x 200 pixels
Created : Not Available
Modified : Not Availale

Any help would be much appreciated

ML

Doh - Now reading the rules I realise it would have been better to post the script. I am at work at the mo' - will post script when back at home - don't get too excited though, it ain't much.

ML

Last edited by multilayer : 10-21-2006 at 07:27 AM.
multilayer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 10-21-2006, 07:37 AM   #2 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,496
OS: Windows Server 2003

My System

HTML Noobs are allowed here (We all have to start somewhere)

A common problem is that the picture has a capital letter in the name and you left it out. If your server runs on linux, then the capital letters matter.

Also, try using the FULL url for your pictures.
i.e. <img src="http://freespace.virgin.net/mj.dean/earth.gif" alt="">

The last thing you should check if none of the above work, is whether you have the correct url. You may have uploaded a picture to one folder, but you thought you uploaded it to a different folder.

Tell me how things work out!
__________________

Nvu || Notepad++ || Apache || PHP || Keep TSF Alive

"The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 10-21-2006, 01:51 PM   #3 (permalink)
Manager, Design
 
ebackhus's Avatar
 
Join Date: Apr 2005
Location: SATX
Posts: 12,762
OS: WinXP Pro SP3

My System

Blog Entries: 25
Send a message via ICQ to ebackhus Send a message via AIM to ebackhus Send a message via MSN to ebackhus Send a message via Yahoo to ebackhus Send a message via Skype™ to ebackhus
The link led me to an error page.
__________________


-----------------------------
There are no dumb questions, unless a customer is asking them.

Help in the fight against cancer and other serious illnesses.

ebackhus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 10-22-2006, 03:12 AM   #4 (permalink)
Registered User
 
Join Date: Sep 2006
Posts: 21
OS: XP


Hi DJ-Zep,
Thanks for the reply. I looked at your 3 possible causes and started with the first (capital letters). I had indeed spelt the filename in lower case and the actual file was named in upper case. Changing the filename to lower case and ensuring the filename in the HTML matched exactly did the trick. Thanks a lot, I'll remember that!

ebackhus,
Thanks for your reply. The text I typed in my first post was the Property of an image, not the site itself. The site is http://freespace.virgin.net/mj.dean/ which you should be able to get to, but as I said previously 'it ain't much - just me experimenting'.

Resolved.

Cheers guys

ML
multilayer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 06:58 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82