MDL-32471 redefining the tinyicon thumbnail size to 24x24
authorDavid Mudrak <david@moodle.com>
Mon, 21 May 2012 09:29:47 +0000 (11:29 +0200)
committerDavid Mudrak <david@moodle.com>
Mon, 21 May 2012 09:37:29 +0000 (11:37 +0200)
As requested by the Files 2.3 UI team.

lib/filestorage/file_storage.php

index 5e86eb4..149936b 100644 (file)
@@ -246,7 +246,7 @@ class file_storage {
         $file->copy_content_to($tmpfilepath);
 
         if ($mode === 'tinyicon') {
-            $data = generate_image_thumbnail($tmpfilepath, 16, 16);
+            $data = generate_image_thumbnail($tmpfilepath, 24, 24);
 
         } else if ($mode === 'thumb') {
             $data = generate_image_thumbnail($tmpfilepath, 90, 90);