🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.misc
Article #318

Re: Images in Frames

#318
From: John Alldred
Date: Sat, 31 Jan 1998 00:00
42 lines
2573 bytes
In article <e55fe1048%peter@hightown.demon.co.uk>, Peter Chambers
<peter@hightown.demon.co.uk> wrote:
> 
> In message <4810b38a2amike@pyramus.demon.co.uk>
>           Mike Hatton <mike@pyramus.demon.co.uk> wrote:
> 
> > On my website I normally place all the graphics in a directory called
> > "Imgs" and then link to them with the command <IMG SRC="Imgs/pict.gif">.
> > 
> > I am in the process of creating a parallel site, this time with frames.
> > I have placed my pictures in a directory called "Imgs" and referred to
> > them in the same way, but they just won't show up on the page.
> > 
> > Any ideas where I'm going wrong?
> 
> Are you using Webspider ? It uses "Imgs"
> 
> perhaps <IMG SRC="/Imgs/pict.gif"> might be better ....
>                   ^

Careful! A prefix of "/" means the root directory /of the server/ ,
which is not necessarily the same as the /user/ root directory! 

However, if the "parallel" site is in a subdirectory, ie starts
at "Frames/index.html" for example:  then the images would need
to be accessed by the likes of <IMG SRC="../Imgs/pict.gif">
where the "../" is to come up one level out of the "Frames" directory.

There's an explanation of subdirectories on the HTML-tutorials page 
of my web-site at  http://www.protovale.co.uk/john/
(This is intended for "do-it-yourself" HTML creation, but can also be
handy for sorting out where HTML creation software has gone wrong ;-)

John


-- 
If you find yourself in a hole, the first thing to do is to stop digging.
 __    ZFC: B _               (protovale@argonet.co.uk)
  | _ |_  _  |_||| _| _ _  _|   john@protovale.co.uk
(_j(_)| )| ) | |||(_|| (-`(_|    in and around Oxford
Technical Details
Message-ID: <na.151a9e4811.a50120protovale@argonet.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4810b38a2amike@pyramus.demon.co.uk> <e55fe1048%peter@hightown.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114044,ec4ad3bcb893c1c1
X-Google-Attributes: gid114044,public
X-Google-Thread: f76f2,ec4ad3bcb893c1c1
X-Google-Attributes: gidf76f2,public
X-Google-Thread: f73c4,ec4ad3bcb893c1c1
X-Google-Attributes: gidf73c4,public
X-Google-Thread: 105bf2,ec4ad3bcb893c1c1
X-Google-Attributes: gid105bf2,public
From: John Alldred <protovale@argonet.co.uk>
Subject: Re: Images in Frames
Date: 1998/01/31
Message-ID: <na.151a9e4811.a50120protovale@argonet.co.uk>
X-Deja-AN: 320844469
Distribution: world
References: <4810b38a2amike@pyramus.demon.co.uk> <e55fe1048%peter@hightown.demon.co.uk>
Organization: ArgoNet, but does not reflect its views
Reply-To: John Alldred <protovale@argonet.co.uk>
Newsgroups: comp.sys.acorn.misc,demon.homepages.authoring,demon.ip.support.archimedes,demon.service.homepages