[KimDaBa] Re: Next release one week, then what?!

Eivind ekj at zet.no
Mon May 2 06:13:38 BST 2005


On Monday 02 May 2005 00:20, Robert L Krawitz wrote:

> 6) When exporting to HTML or otherwise, use a filename suffix that
>    matches what's actually being exported.  For example, exporting a
>    file named foo.png generates a file named foo.png, even though the
>    exported file is actually a JPEG.

If you do this then watching the generated html won't work for 99% of all 
people. If you read the html locally (with a file:// url) the browser uses 
the suffix to determine mime-type.

If served over the web, most web-servers do the same. (a very few migth use 
mod_magic which determines the mime-type by file-content rather than name, 
for those very few it'd work.)

mvh,
	Eivind Kjørstad



More information about the Kphotoalbum mailing list