summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-09-30 10:49:48 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-09-30 10:49:48 +0200
commit1051a3c6f5891e703a15225e12bbb9417755a860 (patch)
tree42309f8969042a29e2274e1b3d89da5a97dc322b /lib/private/helper.php
parentdb79ba547aaf4e3c8ab732aece11f8d738ebad95 (diff)
downloadnextcloud-server-1051a3c6f5891e703a15225e12bbb9417755a860.tar.gz
nextcloud-server-1051a3c6f5891e703a15225e12bbb9417755a860.zip
Change small thumbnails to 32 px
* fixes #16913 * fixes issues in IE8 where the thumbnail is too big
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php4
1 files changed, 2 insertions, 2 deletions
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));
}
/**