Re: [newbie] a webby question

1999-05-02 Thread Steve Winston



--- [EMAIL PROTECTED] wrote:

 The problem that you're encountering is that the
 paths that you put into
Thanks again for a clear and detailed instruction. This will help me to
solve my problem.
adios, STeve Winston
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Re: [newbie] a webby question

1999-05-02 Thread Steve Winston



--- [EMAIL PROTECTED] wrote:

 The problem that you're encountering is that the
 paths that you put into
Thanks again for a clear and detailed instruction. This will help me to
solve my problem.
adios, STeve Winston
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Re: [newbie] a webby question

1999-05-01 Thread Steve Philp

Steve Winston wrote:
 
 Hy, I'm a linux mandrake user, but my question involves something else.
 
 I can't upload my graphics to my webpage. Why?
 I put the graphics in the same file as the html file that I upload.
 Links always work, and so do all kinds of colors.
 The problem isn't related to my system. I have tried in Linux, using
 ncftp to upload. The command is "put -z myfile websitefile"
 I have tried in Win95 using CuteFTP.
 My web pages look fine until I try to upload them. Then, they become
 graphics-less. I try using complete file paths as in
 IMG SRC="/home/html/graphic.gif"
 no luck.
 What to do?

If the graphics files reside in the SAME directory as the HTML files,
the IMG SRC line should not have a path on it, just the filename. 
Something like:

 IMG SRC=graphic.gif

should work fine.  I take it that the uploading process DOES transfer
the graphics files to the remote machine??

-- 
Steve Philp
[EMAIL PROTECTED]



Re: [newbie] a webby question

1999-05-01 Thread Steve Winston

Hy, thanks for the reply. Maybe I am putting too much of a path. I'll
try what you say. 
adios, Steve W. 
  I can't upload my graphics to my webpage. Why?
 
 
 
 If the graphics files reside in the SAME directory
 as the HTML files,
 the IMG SRC line should not have a path on it, just
 the filename. 
 Something like:
 
  IMG SRC=graphic.gif
 
 should work fine.  I take it that the uploading
 process DOES transfer
 the graphics files to the remote machine??
 
 -- 
 Steve Philp
 [EMAIL PROTECTED]
 

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Re: [newbie] a webby question

1999-05-01 Thread Nicholas Barnard

At 01:46 PM 5/1/99 -0700, you wrote:
My web pages look fine until I try to upload them. Then, they become
graphics-less. I try using complete file paths as in 
IMG SRC="/home/html/graphic.gif"

Make sure you are referencing the image correctly.  The IMG SRC needs to be
either a full url or a logical path progression from your page if the image
is in the same directory as the html you should just be able to do IMG
SRC="graphic.gif" and it should work.

Nicholas Barnard



Re: [newbie] a webby question

1999-05-01 Thread sphilp

On Sat, May 01, 1999 at 09:23:43PM -0700, Steve Winston wrote:
 Hy, thanks for the reply. Maybe I am putting too much of a path. I'll
 try what you say. 
 adios, Steve W. 

The problem that you're encountering is that the paths that you put into
your webpages do not map directly to the filesystem.  It's the same type of
thing that FTP servers use.  The servers change their notion of a "root
directory" to somewhere other than the actual physical root of the server. 
Mostly it's for security reasons.  You don't want someone to download
/etc/passwd out of your FTP server, nor do you want them to read it via your
HTTP server either.  So, each of them changes root to a new location (FTP
on Mandrake is /home/ftp, HTTP is /home/httpd, I believe).

On the physical server, you can cd to the directory that contains your pages 
and get the pwd and it'll show you something like /home/httpd/html/sphilp.  
However, as far as the webserver is concerned when parsing webpages, that 
directory is actually /html/sphilp.  That's why you're getting the problems
when trying to see the images when you browse the page.

Hope this explanation helps!

   I can't upload my graphics to my webpage. Why?
  
  
  
  If the graphics files reside in the SAME directory
  as the HTML files,
  the IMG SRC line should not have a path on it, just
  the filename. 
  Something like:
  
   IMG SRC=graphic.gif
  
  should work fine.  I take it that the uploading
  process DOES transfer
  the graphics files to the remote machine??
  
  -- 
  Steve Philp
  [EMAIL PROTECTED]
  
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 

-- 
Steve Philp
[EMAIL PROTECTED]