From 1051a3c6f5891e703a15225e12bbb9417755a860 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 30 Sep 2015 10:49:48 +0200 Subject: [PATCH] Change small thumbnails to 32 px * fixes #16913 * fixes issues in IE8 where the thumbnail is too big --- apps/files/js/filelist.js | 4 ++-- apps/files/templates/list.php | 2 +- apps/files_sharing/ajax/publicpreview.php | 4 ++-- apps/files_sharing/js/public.js | 4 ++-- apps/files_trashbin/lib/trashbin.php | 2 +- core/ajax/preview.php | 4 ++-- lib/private/helper.php | 4 ++-- lib/private/preview/txt.php | 2 +- tests/lib/preview.php | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index b4cc71e2d3..16aa643d11 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1408,10 +1408,10 @@ generatePreviewUrl: function(urlSpec) { urlSpec = urlSpec || {}; if (!urlSpec.x) { - urlSpec.x = this.$table.data('preview-x') || 36; + urlSpec.x = this.$table.data('preview-x') || 32; } if (!urlSpec.y) { - urlSpec.y = this.$table.data('preview-y') || 36; + urlSpec.y = this.$table.data('preview-y') || 32; } urlSpec.x *= window.devicePixelRatio; urlSpec.y *= window.devicePixelRatio; diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index bbbce8473d..7ebf80ee8b 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -51,7 +51,7 @@

- +