Log in Register FAQ Memberlist Search Welcome to RCF Forum Index
alt : test.swf
Welcome to RCF
4fx3.gif 
Contact the Webmasters of RCFContact   Invite a friend to Join usRecommend   Chat in IRCChat   EZ Template Change OptionEZStyle   Listen to Internet Radio while you browse...iRadio   See your private message.Login for PMs   Important LinksLinks
Member Website LinksWeb Links   Play/View our GamesGames   Register.Register
calendar_open_closeCalendar 
question about image code
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
question about image code
PostPosted: 11/11/2008 4:18 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
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
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: question about image code
PostPosted: 11/11/2008 10:13 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:33 AM
Location: St Pete, FL
peace.gif
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:
munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: question about image code
PostPosted: 11/12/2008 6:49 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
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
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: question about image code
PostPosted: 11/12/2008 7:28 PM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 47799
Word Cnt. 2,732,791
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 8:33 AM
Location: Texas
texasC.gif
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.

dontknow

But wait until NR responds. I may be all wet here and not really understand what's going on.

sunny
Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: question about image code
PostPosted: 11/12/2008 11:29 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:33 AM
Location: St Pete, FL
peace.gif
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">
munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: question about image code
PostPosted: 11/13/2008 6:47 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
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
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: question about image code
PostPosted: 11/13/2008 6:53 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
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
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: question about image code
PostPosted: 11/13/2008 7:00 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
You guys must really think I'm stupid.  binky
Back to Top
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: question about image code
PostPosted: 11/13/2008 7:15 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
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
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
Re: question about image code
PostPosted: 11/13/2008 7:35 PM Reply with quote
Citation
fishead
Citation
Posts 4806
Word Cnt. 427,424
BDay Oct 23
Sign Scorpio
Sex Sex:Male
Joined: Feb 09, 2005
Local time: 10:33 PM
Location: Sterling IL
usaCa.gif
To put it simply, why does this image code work without the whole file path?

Code:
<img src="thumbs/thmb_11408038.jpg">



Here is the page its on to show that it does work.

http://www.fisheadtackle.com/SS11408ROCK/index.html
Back to Top
View all pictures posted by this userView user's profile Find all posts by fishead Send private message   Visit poster's website Phoogle Map Visit poster's Blog
 Post new topic  Reply to topic
Information
Welcome to RCF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  

Get IX Get IX
  Prices Based on 24 Month Billing Cycle  

  Google

Powered by phpBB © 2001, 2005 phpBB Group
  ImageShack  
  Putfile  
  TinyURL  
  CommonDreams  
  Log in  

Page generation time: 0.6502s (PHP: 29% - SQL: 71%) - SQL queries: 61 - GZIP enabled - Debug on