Thread: Trouble uploading pictures
11-20-2003, 02:43 PM #1flyin3dGuestTrouble uploading pictures
I am trying to create my first web page and am having trouble getting the pictures that I upload to the server to be viewable on the web page. The text comes out but I get the little box with the 'x' in it and blow it it says 'Apple Mark'. I am saving the page as html, created on MS Word, uploaded using fetch to a roadrunner server.
Thanks in advance.
11-21-2003, 03:40 PM #2
I presume you don't know any html? What you have to do is open the .html file (your main page should be called index.html) in a text editor like textedit or BBEdit (not ms word).
Scroll down a bit and you'll see <body> and after that, maybe some <font> and <p> or even <table> tags, surrounding the text on your page. Find the text closest to your image, and near it should be an <img> tag. This is the tag that specifies the location of your image. For example, if your image is in the same folder online as your index.html file, the image tag should say:
<img src="nameoffile.jpg">There may be other things apart from src="" like width, height and alt, but you don't really have to worry about them yet. You can put an alt="" tag in there if you want and inside the quotes, fill in a description or name of your image.
I'm guessing that the code specifies the wrong name of the image and that's why it won't display.I'm in your forums, writing sentences in a grammatically acceptable manner.
01-07-2004, 10:06 AM #3galagaGuest
The simplest rule to bear in mind when writing web pages is this-
When something that you think should work, doesn't work, go back through your code and scour it for a missing/erroneous ", <, >, /, \ etc. Twice!
I have been writing code for years and you would be amazed how often this obvious little rule still sorts things out.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By ryeh20 in forum Apple DesktopsReplies: 5Last Post: 08-07-2015, 07:09 PM
By Haley in forum iPad Hardware and AccessoriesReplies: 7Last Post: 03-04-2011, 05:28 PM
By Arthur Daley in forum Images, Graphic Design, and Digital PhotographyReplies: 14Last Post: 02-28-2011, 06:22 PM
By theleero55 in forum OS X - Operating SystemReplies: 1Last Post: 05-10-2007, 09:35 AM
By tk26 in forum Switcher HangoutReplies: 2Last Post: 04-02-2006, 06:01 PM