Adding an image to my header(html)?

2008-06-26 3:55 pm
Ok, I am ok with html, I am not using dreamweaver or anything like that. I have a sample template I am using, and I am deleting out the header and adding my own. I used cutemap to add links to my header. After that, cutemap gives you an html code which you add to your index. I did this, but I still cant see the image, but I can see where you can rollover and click the links which is odd. I also moved the picture into my "images" folder for my given site. Thoughts??? This is getting very disturbing lol
更新1:

Here is the sample code <center> <!-- Beginning of CSIM --> <IMG SRC="Settings\alspj01\Desktop\blackdraft\blackdraft\blackdraft\images\sincitystay-header-final-revised.png" USEMAP="#sincitystay-header-final-revised.png" WIDTH=1025 HEIGHT=183 BORDER=0> <MAP NAME="sincitystay-header-final-revised.png"> <AREA SHAPE=RECT COORDS="458,140,536,177" HREF="http://www.sincitystay.com"> <AREA SHAPE=RECT COORDS="538,142,617,176" HREF="http://www.hotels.com"> <AREA SHAPE=RECT COORDS="621,142,697,176" HREF="http://www.flights.com"> <AREA SHAPE=RECT COORDS="700,143,778,177" HREF="http://www.forum.com"> <AREA SHAPE=RECT COORDS="783,141,863,178" HREF="http://www.clubs.com"> <AREA SHAPE=RECT COORDS="857,141,939,180" HREF="http://www.shows.com"> <AREA SHAPE=RECT COORDS="944,142,1021,175" HREF="http://www.contact.com"> </MAP> <!-- End of CSIM --> </center>

回答 (2)

2008-06-26 4:13 pm
✔ 最佳答案
The image HTML general code is:

<img src="path/name" width="xx" height="yy" alt="alternate text">

There are a few things that can keep images from appearing. Please post a bit of your page's code that includes the 'img' line.

<added>
Do you have the file name's capitalization the same in the link as it appears in the directory? On a Unix server, 'File.jpg' isn't the same as 'file.jpg'. It could be that simple.
</added>
2008-06-26 5:11 pm
You need to change the correct image path, CuteMap is still linking the image on your computer.

<IMG SRC="Settings\alspj01\Desktop\blackdraft...

You said you have moved the image to your 'images' folder, so the correct path will be:

<img src="images/filename.jpg" ...


收錄日期: 2021-05-03 14:01:31
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080626075538AAtgZbq

檢視 Wayback Machine 備份