10
« on: March 31, 2006, 03:07:24 AM »
Ive got a similar problem with TIF files.
My file is "sample.tif" and in v1.7.2 there is a line for TIFs:
$mime_type_match['tif'] = array("image/tiff", "application/octet-stream", "image/tif");
$mime_type_match['tiff'] = array("image/tiff", "application/octet-stream", "image/tif");
But there is not the media templates. I have created this and they say:
<!-- Template file for TIF Files -->
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /><br />
<!-- Template file for TIFF Files -->
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /><br />
When I try and upload the sample.tif file, I get the error message:
Error uploading image file:
sample.tif: Invalid file type (tif, image/tiff)
I have followed the previous instructions on the FAQs and all seems correct.
Am I missing something?!