New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Trouble uploading pictures


Post Reply New Thread Subscribe

 
Thread Tools
flyin3d
Guest
 
Posts: n/a

Hello,
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.
QUOTE Thanks
muso

 
muso's Avatar
 
Member Since: Jan 15, 2003
Location: Whangarei, New Zealand
Posts: 2
muso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond repute
Mac Specs: Pwnt

muso is offline
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.
QUOTE Thanks
galaga
Guest
 
Posts: n/a

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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Writing Cookies | Hidden Field in MacOS Browser »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Trouble @ Stratup?? JTSkywalker OS X - Operating System 8 01-05-2005 03:34 PM
eMac Trouble HopperJonusFang Other Hardware and Peripherals 4 01-25-2004 05:56 PM
Trouble with Excite austisis Schweb's Lounge 0 08-23-2003 06:46 PM
A speedtouch 510 adsl modem/router, a G4, and a whole bunch of trouble!! profound_d Other Hardware and Peripherals 2 07-23-2003 04:09 AM

All times are GMT -4. The time now is 07:18 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?