diff --git a/levgal_src/Model/Item.php b/levgal_src/Model/Item.php index 1d81507..b1a26c9 100644 --- a/levgal_src/Model/Item.php +++ b/levgal_src/Model/Item.php @@ -301,7 +301,7 @@ private function getIconUrl($file_ext) '_audio' => array('flac', 'mp3', 'm4a', 'oga', 'ogg', 'wav'), '_binary' => array('bin', 'dll', 'exe'), '_font' => array('otf', 'ttf'), - '_image' => array('gif', 'iff', 'jpeg', 'jpg', 'webp', 'lbm', 'mng', 'png', 'psd', 'tiff'), + '_image' => array('gif', 'iff', 'jpeg', 'jpg', 'webp', 'lbm', 'mng', 'png', 'psd', 'tiff', 'tif'), '_video' => array('ogv', 'm4v', 'mp4', 'mov', 'qt', 'mqv', 'webm'), 'doc' => array( 'doc', 'dot', 'docm', 'docx', 'dotm', 'dotx', // MS Word diff --git a/levgal_src/Model/Upload.php b/levgal_src/Model/Upload.php index 5d37d4e..2767dc7 100644 --- a/levgal_src/Model/Upload.php +++ b/levgal_src/Model/Upload.php @@ -147,6 +147,7 @@ protected function getAlternateExtensions() 'html' => array('htm', 'mhtm', 'mhtml'), 'iff' => array('lbm'), 'jpg' => array('jpeg'), + 'tiff' => array('tif'), 'lz' => array('lzma'), 'm4a' => array('mp4'), 'm4v' => array('mp4'),