Re: Directory structure

by Rick Alexander <tralexan(at)mindspring.com>

 Date:  Thu, 13 Jul 2000 08:02:17 -0400
 To:  hwg-basics(at)hwg.org
 References: 
  todo: View Thread, Original
At 05:36 PM 7/12/00 -0400, Captain F.M. O'Lary wrote:
>>instead of the
>>convention "foo.gif" for large images and "smfoo.gif" for the small ones,
>>why not "foo.gif" (or foo-lg.gif) and "foo-sm.gif".  I've found it's very
>>helpful for me to be able to find both the thumbnail and the full image in
>>the exact same spot in the directory.  That way I don't have to scroll
>>through a hundred or so images before finding the other one that I want.

I have used a convention somewhat like this that causes images to order
acccording to the pages (or sometimes categories) on which they appear. If
there are, for example, three distinctive pages called

foo.html
soo.html
moo.html

All images appearing on foo.html take the form of fo_imagename.gif,
soo.html images are so_imagename.gif and moo.html images are
mo_imagename.gif. 

If there are graphics/images that are thematic and appear on all pages,
like a corporate logo or a background tile, they get the title of
all_imagename.gif.

All these files are stored in an images directory that, when sorted on
name, is also sorted by the pages on which they appear.

--rick





Rick Alexander
Webmaster
Joint Effort Productions, Inc.
Knoxville, Tennessee
http://www.jepi.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA