|

aidan and dirt hack the newest member of our thinkpad x20 farm.

after trying to release this site, i found out that netscape and ie
for mac and windows are smart enough to read the file header and
properly display an image even if apache sends a plain text mimetype.
but, netscape for oonix only relies on the mimetype. all of my auto
catalogued photos don't have file extensions and apache does mimetyping
by file extension. in effect, most of my photos were being transmitted
with a text mimetype and showing up as garbage on oonix netscape. crap.
after a hint from andy i wrote this
little script to dump a .htaccess directive file in all of the image directories
which forces
apache to send an image/jpeg type. photojournal is temporarily hax0red and online.
|