summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-30 15:47:34 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-30 15:47:34 +0200
commit1d8c10cf638fb954d1cc20c47ad46e697a18e9e4 (patch)
tree5936d721dc868e799594978133e0bc63905b6413 /core
parenteeac6e2ab17bb9bfd94c51e8e026daa25ef3a033 (diff)
parent1051a3c6f5891e703a15225e12bbb9417755a860 (diff)
downloadnextcloud-server-1d8c10cf638fb954d1cc20c47ad46e697a18e9e4.tar.gz
nextcloud-server-1d8c10cf638fb954d1cc20c47ad46e697a18e9e4.zip
Merge pull request #19468 from owncloud/fix-36-vs-32-previews
Change small thumbnails to 32 px
Diffstat (limited to 'core')
-rw-r--r--core/ajax/preview.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ajax/preview.php b/core/ajax/preview.php
index baa0ed4ec61..c8bc05453ed 100644
--- a/core/ajax/preview.php
+++ b/core/ajax/preview.php
@@ -26,8 +26,8 @@
\OC::$server->getSession()->close();
$file = array_key_exists('file', $_GET) ? (string)$_GET['file'] : '';
-$maxX = array_key_exists('x', $_GET) ? (int)$_GET['x'] : '36';
-$maxY = array_key_exists('y', $_GET) ? (int)$_GET['y'] : '36';
+$maxX = array_key_exists('x', $_GET) ? (int)$_GET['x'] : '32';
+$maxY = array_key_exists('y', $_GET) ? (int)$_GET['y'] : '32';
$scalingUp = array_key_exists('scalingup', $_GET) ? (bool)$_GET['scalingup'] : true;
$keepAspect = array_key_exists('a', $_GET) ? true : false;
$always = array_key_exists('forceIcon', $_GET) ? (bool)$_GET['forceIcon'] : true;