Follow us on Twitter!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Monday, April 21, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 29
Guests Online: 26
Members Online: 3

Registered Members: 82858
Newest Member: alexxkim
Latest Articles
View Thread

HellBound Hackers | HellBound Hackers | Questions

Author

Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-06-07 04:07
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.


Author

RE: Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-06-07 04:19
if your pictures are in a folder called images, then you have to do <img src="images/image1.jpg"> </img> But if your images are in your public HTML folder then just do <img src="image1.jpg"></img>


Author

RE: Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-06-07 04:31
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.


Author

RE: Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-06-07 00:01
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.


edit: my bad i was going to ask another but didnt sorry ender






Edited by on 14-06-07 01:50
Author

RE: Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-06-07 00:38
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


Author

RE: Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-06-07 20:43
hmmmmmmmmmmmmmmmm why wont my signature show up i put the dang tags in =(


Author

RE: Simple Question I have


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-06-07 22:26
root
|
content
|
"images directory"
|
images


<img src="images/image.jpg"> if image.jpg is in images.

Hope i helped