Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 04, 2008, 09:53:32 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Path to image files  (Read 378 times)
lin hampton
Spacescooter Operator
*****
Offline Offline

Posts: 34


WWW
« on: June 22, 2002, 11:59:00 PM »

Creating a web page that is graphics intensive. Images will be in a separate images folder on the public_html folder. How will I enter the path within html to show the images?
Would this work-  ..//public_html/images/file.name?
Thank You!
Logged
Bluelight
Jedi
*****
Offline Offline

Posts: 836


« Reply #1 on: June 23, 2002, 12:37:00 AM »

Yes it should work although you dont need to type
"public_html".

 Could be like this:http://bluelight/lunarpages.com/images/nicegirl.jpg

                      Bluey
Logged
Bluelight
Jedi
*****
Offline Offline

Posts: 836


« Reply #2 on: June 23, 2002, 03:45:00 AM »

Could also be useful to make a folder in the public_html dir. exclusively for your site in case you want to make another on in the future.Otherwise things can get pretty messed up.

To keep the url simple make an entrance page (index) in the main directory which points to the site or get a redirect from http://kickme.to/login.php

        Bluey
Logged
Johnny
Support
Über Jedi
*****
Offline Offline

Posts: 1915



« Reply #3 on: June 23, 2002, 05:03:00 AM »

Here's one way of doing it. Let's say you've name a folder on the server side, images. When you're adding the image to your web page, it would look like this:
<img src="images/theimagename.gif" width="enterthewidth" height="entertheheighth">

 Now, on your computer, you will need to have a folder named: "images" inside of the directory that the web pages you will be placing these images on will be.
 For example: You have a folder under the C dive named: my site. Inside that folder you would create on named: images.
 This way, if you wanted to preview the webpages offline, before you uploaded them, the images would show up.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM