Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Image naming conventions : site design

Reply
Thread Tools

Image naming conventions : site design

 
 
Chris
Guest
Posts: n/a
 
      01-15-2004
Does anyone have any suggestions about the best way to name images which
will be part of a very large web site?
Any comments on image naming conventions or useful links will be appreciated
also!

Many thanks,

Chris.


 
Reply With Quote
 
 
 
 
Whitecrest
Guest
Posts: n/a
 
      01-15-2004
In article <bu6ao9$3kn$>, says...
> Does anyone have any suggestions about the best way to name images which
> will be part of a very large web site?
> Any comments on image naming conventions or useful links will be appreciated
> also!


We named web servers after Muppets, but that probably wouldn't work in
this case.

--
Whitecrest Entertainment
www.whitecrestent.com
 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      01-15-2004
in post: <news:bu6ao9$3kn$>
"Chris" <> said:

> Does anyone have any suggestions about the best way to name images which
> will be part of a very large web site?


britney-spears-nude-01.jpg
britney-spears-nude-02.jpg
etc etc

> Any comments on image naming conventions or useful links will be appreciated
> also!


if you have an image of a green widget then common sense should tell you
to call it something like "green-widget.jpg" calling the file a red
widget just wouldn't make sense.

--
brucie - i usenet nude
 
Reply With Quote
 
Barry Pearson
Guest
Posts: n/a
 
      01-15-2004
Chris wrote:
> Does anyone have any suggestions about the best way to name images
> which will be part of a very large web site?
> Any comments on image naming conventions or useful links will be
> appreciated also!


What sort of images? My non-photographic images tend to have pretty ad-hoc
names. (Which is a problem of my own making).

My photographs have systematic names. I'll just summarise it in case this is
useful to you. I only have 100s, which may not be "very large" to you.

Each name is of the form:
project film frame size .jpg

So this may be:
eg95_10_25_3.jpg
meaning "Ecuador & Galapagos Islands 1995, film 10, frame 25, fits a 700 x 500
box". (The thumbnail ends in "0" not "3"). See:
http://www.barry.pearson.name/photog...95_10_25_3.jpg

The HTML page that displays that photograph is (not surprisingly):
http://www.barry.pearson.name/photog...95_10_25_3.htm

Note that I also have a reasonably systematic folder structure, also based on
projects. I think that is just as important.

This is film-based. I'm not sure what I will do when I take them digitally.
Perhaps I'll ask here for suggestions!

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


 
Reply With Quote
 
Barry Pearson
Guest
Posts: n/a
 
      01-15-2004
brucie wrote:
[snip]
> if you have an image of a green widget then common sense should tell
> you to call it something like "green-widget.jpg" calling the file a
> red widget just wouldn't make sense.


I nearly said "that mixes content with presentation, you should leave "green"
and "red" to the stylesheet".

Then I decided not to say it.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      01-15-2004
Chris wrote:

> Any comments on image naming conventions or useful links will be appreciated
> also!


Assuming you are using Apache, turn on MultiModes.

Then whenever you need to link to an image, instead of doing:

<img src="my_image.jpeg" alt="My Image">

do

<img src="my_image" alt="My Image">

That way, you can switch between different image formats in the future
without needing to update your HTML. (It also cuts 5 bytes out of your
HTML file.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Not in my trousers
Guest
Posts: n/a
 
      01-15-2004

"Chris" <> wrote in message
news:bu6ao9$3kn$...
> Does anyone have any suggestions about the best way to name images which
> will be part of a very large web site?
> Any comments on image naming conventions or useful links will be

appreciated
> also!
>
> Many thanks,
>
> Chris.
>

Give them meaningful names and use your search terms as much as possible for
both the image and the alt tag....

I.e. .. If you have a site selling decorative candles then
<img src="candles/red_decorative_candle_glass_holder.jpg" border="0"
alt="decorative candle in glass holder">

is better than
<img src="images/image010.jpg">

if you have bullet point and line images why not use wax.gif wick.gif as
names too ?

this will make your pages more meaningful both to human readers and search
engines and should improve your page ranking.


 
Reply With Quote
 
Michael Fesser
Guest
Posts: n/a
 
      01-15-2004
Toby A Inkster wrote:

>Assuming you are using Apache, turn on MultiModes.
>[...]
>That way, you can switch between different image formats in the future
>without needing to update your HTML. (It also cuts 5 bytes out of your
>HTML file.)


But adds more than 5 bytes to the response header ...

Micha
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      01-15-2004
Michael Fesser wrote:

> But adds more than 5 bytes to the response header ...


True, but response headers don't take up disk space.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
kayodeok
Guest
Posts: n/a
 
      01-15-2004
Whitecrest <> wrote in
news::

> We named web servers after Muppets, but that probably wouldn't
> work in this case.


The company I work for names servers after The Matrix characters...

--
Kayode Okeyode
http://www.kayodeok.co.uk/weblog/
http://www.kayodeok.btinternet.co.uk.../webdesign.htm
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
Me vs. .NET HTML Control naming conventions Josh Wolf ASP .Net 2 03-31-2006 12:37 PM
Can Canon image file saving/naming conventions be adjusted? TommyC Digital Photography 5 08-21-2005 04:07 PM
Namespaces and Naming conventions Floppy Jellopy ASP .Net 4 07-21-2005 01:36 PM
Naming conventions for ASP.NET objects? =B= ASP .Net 4 09-06-2004 09:05 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57