summaryrefslogtreecommitdiff
path: root/core/helpers/core_installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r--core/helpers/core_installer.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php
index c83d9bcb..a1e06696 100644
--- a/core/helpers/core_installer.php
+++ b/core/helpers/core_installer.php
@@ -176,8 +176,14 @@ class core_installer {
module::set_var("core", "resize_size", 640);
// Add rules for generating our thumbnails and resizes
- graphics::add_rule("core", "thumb", "resize", array(200, 200, Image::AUTO), 100);
- graphics::add_rule("core", "resize", "resize", array(640, 640, Image::AUTO), 100);
+ graphics::add_rule(
+ "core", "thumb", "resize",
+ array("width" => 200, "height" => 200, "master" => Image::AUTO),
+ 100);
+ graphics::add_rule(
+ "core", "resize", "resize",
+ array("width" => 200, "height" => 200, "master" => Image::AUTO),
+ 100);
module::set_version("core", 1);
}