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.

Building a Web Page


Post Reply New Thread Subscribe

 
Thread Tools
ND_all_the_way

 
Member Since: Nov 30, 2005
Posts: 14
ND_all_the_way is on a distinguished road

ND_all_the_way is offline
This is probably a dumb question, but I just can't figure this out. I'm coding a web site for my Computer Science course and the images I've added never load when I preview the .html file. I have the right html instruction and my source is just the folder and jpg file on my computer. Can anyone help me out with this?
QUOTE Thanks
cwa107

 
cwa107's Avatar
 
Member Since: Dec 20, 2006
Location: Middletown, Pennsylvania
Posts: 26,577
cwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond repute
Mac Specs: 15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD

cwa107 is offline
I've seen this happen before when hand-coding HTML. In my case, I didn't match the case correctly of the image file names. Some web servers are case-sensitive, so make sure your stated paths match the actual case of the files. Just a guess....

Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!
QUOTE Thanks
D3v1L80Y

 
D3v1L80Y's Avatar
 
Member Since: Feb 02, 2004
Location: PA
Posts: 12,459
D3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond repute
Mac Specs: MacBook

D3v1L80Y is offline
Quote:
Originally Posted by ND_all_the_way View Post
This is probably a dumb question, but I just can't figure this out. I'm coding a web site for my Computer Science course and the images I've added never load when I preview the .html file. I have the right html instruction and my source is just the folder and jpg file on my computer. Can anyone help me out with this?
What browser are you using to preview your page?

Is the index.html file in the same location as the images?

Can you attach your index.html file as a .txt to a post so we can get a better idea of how you have it set up?

__________________________________________________
Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy

mac: a waterproof raincoat made of rubberized fabric
MAC: a data communication protocol sub-layer, also known as the Media Access Control
Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.

QUOTE Thanks
Christopera

 
Member Since: Dec 03, 2007
Posts: 13
Christopera is on a distinguished road

Christopera is offline
Sometimes when I apply css background-image I have real troubles getting them to show up while testing on my hardrive.

Although, I suspect your file path is fudged.
QUOTE Thanks
jdgti

 
jdgti's Avatar
 
Member Since: Mar 14, 2005
Location: Atlanta, GA
Posts: 444
jdgti will become famous soon enough
Mac Specs: 17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM

jdgti is offline
Copy and paste some of the code here. We'll help you.
QUOTE Thanks
Jasber

 
Member Since: Dec 04, 2007
Posts: 10
Jasber is on a distinguished road

Jasber is offline
Trying prepending the path with "file:"

MacTips - Mac Tips and Tricks
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
use relative paths, and make sure the case is correct everywhere. something like:

src="../media/pHoTo.JPEG"

schweb This has to be one of the best threads ever in MF history...
Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.
QUOTE Thanks

Post Reply New Thread Subscribe


« Moonfruit Hosting Question | Problem with loading small images »
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
Web Browsers novicew OS X - Apps and Games 80 04-10-2010 11:02 AM
Please help me debug page (just load a web page in windows IE) giulio Web Design and Hosting 6 07-01-2007 03:44 PM
Copy images from web page into PowerPoint reallycheep OS X - Apps and Games 3 02-18-2007 12:57 PM
Script errors on web page when viewed on Mac rharris07 Web Design and Hosting 0 09-20-2006 09:34 AM

All times are GMT -4. The time now is 10:45 AM.

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?