| question about image code | |
Posted: 11/11/2008 4:18 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
Code:
|
<img src="thumbs/thmb_11408122.jpg">
<img src="images/logo.jpg">
|
Why does the top one work but the second one doesn't?
I don't see anything in the head section.
The top one works on an "index" page in a subfolder only, not anywhere else on my site.
The top one is in a folder /fisheadtackle.com/SS11408ROCK/thumbs/thmb_11408122.jpg
and works on this page in the same folder:
/fisheadtackle.com/SS11408ROCK/index.html
and the 2nd in a folder /fisheadtackle.com/images/images/animation/an07/an072/an-mill-12.gif
and won't work on this page:
/fisheadtackle.com/index.html
I don't get it, whats the difference? Do I need keep the images in the main directory to show in main index...? |
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/11/2008 10:13 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 2:27 AM
Location: St Pete, FL
|
|
|
|
|
|
Your paths are wrong. You can't ignore some of the subfolders or add extra ones. This path does not work:http://fisheadtackle.com/images/images/animation/an07/an072/an-mi ll-12.gif But this one does:http://fisheadtackle.com/images/animation/an07/an072/an-mill-12.g if So if you use the first path, this is what you would see:While this is what you would see with the correct path: |
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/12/2008 6:49 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
Thats not what I mean nr, I am using these generated image galleries I make in firstpage 2006, and they don't have the http://www. part of the image code but the images show. Check a page out and see what I mean:
http://www.fisheadtackle.com/SS11408ROCK/index.html
Look at the image tags. Here is line 333 -
Code:
|
<img src="thumbs/thmb_11408004.jpg">
|
So if this works, then why do I need to add http://www. to every other image I post throughout my website? Whats different about these pages? Maybe its in the head section? Its no big deal, I am just wondering, it would save me some work if I didn't have to add http://www. all the time. Seems links to internal pages should work the same way, without needing http://www. |
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/12/2008 7:28 PM |
|
|
|
|
Site Admin |
Posts |
49593 |
Word Cnt. |
2,756,445 |
BDay |
Apr 22 |
Sign |
Taurus |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 12:27 AM
Location: Texas
|
|
|
|
|
|
I'm not sure Dave but I don't think NR means the http:// is the problem, it's the path itself that may be wrong. For instance look at this path
/fisheadtackle.com/images/images/animation/an07/an072/an-mill-12.gif
Do you really have an "images" folder inside an "mages" folder? When I remove one of those "images" folders from the path I get the flash movie. IF I use http://. In the code you probably don't need the http:// but the path to the image has to be correct.
But wait until NR responds. I may be all wet here and not really understand what's going on.
|
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/12/2008 11:29 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 2:27 AM
Location: St Pete, FL
|
|
|
|
|
|
RB is correct. The problem isn't with the http://www part, it is that your path is wrong. You don't need the first part if the images are stored on your server, but the path does need to be correct. If you point to a location that doesn't exist, then the image won't display. I had to use the http:// part in my post to show you why one link works while the other doesn't since the images are not stored on our server. So instead of getting distracted by the http://www part, look at the rest of your path and correct it...
If you can't get this path to work:
Code:
|
http://fisheadtackle.com/images/images/animation/an07/an072/an-mi ll-12.gif
|
Then you know that this won't work either:
Code:
|
<img src="images/images/animation/an07/an072/an-mill-12.gif">
|
|
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/13/2008 6:47 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
No you guys , thats not what I mean,
forget that url, it was a sample I made, its not even a real url, thats not what I was asking about, I am asking about the http part. The path goes to my image directory, thats what I was trying to show you.
This is too difficult to ask, nevermind. |
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/13/2008 6:53 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
This works:
Code:
|
<img src="thumbs/thmb_11408019.jpg">
|
Why doesn't this work:
Code:
|
<img src="images/photo/erie08/x-97-524-fishdoc-1x90.jpg">
|
|
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/13/2008 7:00 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
You guys must really think I'm stupid. |
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/13/2008 7:15 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
I think I found the answer I was looking for:
Code:
|
<html>
<body>
<p>
An image from another folder:
<img src="/images/netscape.gif"
width="33" height="32">
</p>
<p>
An image from W3Schools:
<img src="http://www.w3schools.com/images/ie.gif" width="73" height="68">
</p>
</body>
</html>
|
http://www.w3schools.com/htmL/tryit.asp?filename=tryhtml_images2 |
|
|
|
|
Back to Top |
|
|
| Re: question about image code | |
Posted: 11/13/2008 7:35 PM |
|
|
|
|
Citation |
Posts |
4813 |
Word Cnt. |
427,864 |
BDay |
Oct 23 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Feb 09, 2005
Local time: 2:27 PM
Location: Sterling IL
|
|
|
|
|
|
|
|
|
|
Back to Top |
|
|
| Information | |
|