summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/graphics.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php
index 3d1cd4a8..e64a9c6d 100644
--- a/core/helpers/graphics.php
+++ b/core/helpers/graphics.php
@@ -24,7 +24,8 @@ class graphics_Core {
* Rules are applied to targets (thumbnails and resizes) in priority order. Rules are functions
* in the graphics class. So for example, the following rule:
*
- * graphics::add_rule("core", "thumb", "resize", array(200, 200, Image::AUTO), 100);
+ * graphics::add_rule("core", "thumb", "resize",
+ * array("width" => 200, "height" => 200, "master" => Image::AUTO), 100);
*
* Specifies that "core" is adding a rule to resize thumbnails down to a max of 200px on
* the longest side. The core module adds default rules at a priority of 100. You can set