HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Alt appearing instead of image
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> Images & Graphics
View previous topic :: View next topic  
Author Message
foxbites



Joined: 25 Mar 2008
Posts: 2

Posted: Tue Mar 25, 2008 3:44 pm     Alt appearing instead of image  

I am very new at this and I am just doing this for a class. I have tried multiple times to get my image to show up on the page and no matter what the Alt shows up instead. This is the section of code it is in:

<div style="text-align: center;">
<img src="foxrolling.jpg" alt="dirty fox rolling">
<Br> <span style="color: brown;"> <b> <span style="font-size: x-large;">
This is me doing what I do best! <b> </span> </span> </span> </div>
The image is in my public directory and permissions are correct.

Thanks,
Katie
ogsolution



Joined: 26 Dec 2007
Posts: 144

Posted: Tue Mar 25, 2008 9:52 pm      

First thing that comes to my mind is that you may have your image path set incorrectly. There are two ways to point to the image: 1)relative path and 2)absolute path.

1)Relative path is pointing to the image based on where your current HTML file is

Example:
Code: <img src="image/myimage.jpg"> )

2)Absolute path is setting the direct link to the image

Example:
Code: <img src="http://example.com/image/myimage.jpg">


Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Wed Mar 26, 2008 11:16 am      

Also check to make sure that the file name is not foxrolling.JPG. If you are on a *NIX machine - it is case sensitive (windows is not).

_________________
Corey
Payment Processing Forums | Massive Links Forums | International Web Developers Network
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> Images & Graphics
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group