From 2667de8b161f19db3b43994a2214763ed9a2ef74 Mon Sep 17 00:00:00 2001 From: profiteroles Date: Fri, 14 Jun 2019 02:14:09 -0700 Subject: [PATCH] Added some sips thumb types --- filetypes.php | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/filetypes.php b/filetypes.php index e7e7682..9196c77 100755 --- a/filetypes.php +++ b/filetypes.php @@ -95,7 +95,13 @@ $p['t_files']['sips'] = array( "jpg", "gif", "psd", "png", - "heic" ); + "heic", + "pdf", + "ai", + "ps", + "bmp", + "pict", + "jp2" ); // Use sox to generate thumbnails for these files $p['t_files']['sox'] = array( "flac", @@ -104,7 +110,8 @@ $p['t_files']['sox'] = array( "flac", "aiff" ); // Don't make thumbnails for these files -$p['t_skip'] = array("emlx"); +$p['t_skip'] = array( "emlx", + "DS_Store" ); // Don't make icons for these files $p['i_skip'] = array( "jpg", @@ -118,7 +125,8 @@ $p['i_skip'] = array( "jpg", "wav", "aiff", "aif", - "zip"); + "zip", + "DS_Store" ); // Custom qlgenerator bindings $p['i_bindings']['indd'] = array("com.adobe.indesign-document","Art View.qlgenerator"); @@ -218,7 +226,8 @@ $p['e_files'] = array( "ai", "xls", "xlsx", "xmp", - "zip" ); + "zip", + "ps" ); // Ucase foreach ($p['bundles'] as $bundle) { $p['nodescend'][] = "*.".$bundle; }