From c34844cde8b9b58f4e8c24a8f26379f456500571 Mon Sep 17 00:00:00 2001 From: nonmakina Date: Sat, 9 Jan 2021 15:08:24 -0600 Subject: [PATCH] Turns on thumbnails for pdf and djvu filetypes --- inc/instance-config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/instance-config.php b/inc/instance-config.php index eca5bb01..43741edd 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -128,6 +128,9 @@ $config['max_filesize'] = 50 * 1024 * 1024; // 50MB $config['webm']['allow_audio'] = true; $config['webm']['max_length'] = 1000; +$config['pdf_file_thumbnail'] = true; +$config['djvu_file_thumbnail'] = true; + // Allowed image file extensions. $config['allowed_ext'][] = 'jpg'; $config['allowed_ext'][] = 'jpeg';