From 004e6510239c5945f33f0aa8e5af88f75f61b872 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 12 May 2022 15:30:23 +0200 Subject: [PATCH] * Filemanager: use bigger popups to open files (PDF: 1024*1024, text: 800*1024, images: 640*800) --- api/src/Link.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/Link.php b/api/src/Link.php index 632ee5d629..d821eb5bec 100644 --- a/api/src/Link.php +++ b/api/src/Link.php @@ -163,15 +163,15 @@ class Link extends Link\Storage // handling of text or pdf files by browser in a popup window 'mime' => array( 'application/pdf' => array( - 'mime_popup' => '640x480', + 'mime_popup' => '1024x1024', 'mime_target' => '_blank', ), '/^text\\/(plain|html|diff)/' => array( // text/(mimetypes which can be opened as recognised popups) - 'mime_popup' => '640x480', + 'mime_popup' => '800x1024', 'mime_target' => '_blank', ), '/^image\\//' => array( // image - 'mime_popup' => '640x480', + 'mime_popup' => '800x640', 'mime_target' => '_blank', ), ),