From 1051a3c6f5891e703a15225e12bbb9417755a860 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 30 Sep 2015 10:49:48 +0200 Subject: Change small thumbnails to 32 px * fixes #16913 * fixes issues in IE8 where the thumbnail is too big --- lib/private/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/helper.php') diff --git a/lib/private/helper.php b/lib/private/helper.php index b8e4b451835..dcd263daa24 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -193,11 +193,11 @@ class OC_Helper { * Returns the path to the preview of the file. */ public static function previewIcon($path) { - return self::linkToRoute( 'core_ajax_preview', array('x' => 36, 'y' => 36, 'file' => $path )); + return self::linkToRoute( 'core_ajax_preview', array('x' => 32, 'y' => 32, 'file' => $path )); } public static function publicPreviewIcon( $path, $token ) { - return self::linkToRoute( 'core_ajax_public_preview', array('x' => 36, 'y' => 36, 'file' => $path, 't' => $token)); + return self::linkToRoute( 'core_ajax_public_preview', array('x' => 32, 'y' => 32, 'file' => $path, 't' => $token)); } /** -- cgit v1.2.3