[Zope] Best practice: image extensions

Milos Prudek milos.prudek@tiscali.cz
Sat, 13 Apr 2002 23:42:22 +0200


It seems that best practice for images is to keep the .gif, .jpg and 
.png extensions in filenames.

Many web log analyzers such as wusage use Apache logs (or Z2.log) to 
generate statistics. Log analyzers try to report images and documents 
separately. Since the Apache or Z2.log does not contain "meta type", the 
analyzers must rely on the file extension.

If the file has no extension, the log analyzer treat is as a directory.

So if your homepage has 10 extension-less images, your web log report 
will say that:

Most popular eleven directories were:
/
/img1
/img2