Simple Question I have
Hi guys ive been coding a fake site for learning purposes trial and error and such. And was wondering if there was some way to organize all these images and such together. When I put my images in sub folder within the main directory IE desktop/site/images the <img src="w/e"> doesnt show up in the browser. Does that mean that Huge Community sites such as HBH has 100's of images, html pages and other stuff all in one folder.
Or do i have to specify the folders right in the file name ? Such as, <img src="images/w/e.jpg"> Thanks for anything guys, I'm new but improving everyday.
there are two ways to refer to any object. i think the names are relative and non-relative something like that.
relative src="../images/image.jpg" basically you say go up from this page's folder one folder above, then enter the images folder and use image1.jpg as a source.
non-relative http://web.mysite.uk/images/image1.jpg basically you are saying all the path to the image. this is necessary if the image is not stored in your own site, but it takes longer to load if it is in your site but you just randomly decide to do it this way.
practice_123 wrote: yea i figured that out last night after i posted this. But thanks for the replies i like to just have one subfolder named images and that would hold all of them. o yeah another question.
err, did you actually have another question on this thread, or are you posting a new one? end3r