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: Previous  1, 2
Welcome to RCF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: question about image code
PostPosted: 11/13/2008 10:49 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: 12:43 PM
Location: St Pete, FL
peace.gif
fishead wrote:
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

That code works because the following is a valid path:
Code:
http://www.fisheadtackle.com/SS11408ROCK/thumbs/thmb_11408038.jpg

Since the index.html file is stored in the SS11408ROCK folder, then the html code can see any subfolders listed in the same directory without the need for the full path.  Since thumbs is a subfolder stored in the SS11408ROCK directory, then the html code can display the thumbs/thmb_11408038.jpg file without requiring the rest of the path in the image src code:



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
 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: Previous  1, 2
Page 2 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.4136s (PHP: 29% - SQL: 71%) - SQL queries: 34 - GZIP enabled - Debug on