summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-17 11:54:23 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-17 11:54:23 +1100
commit290b2b2dea8738fbe9704dbfaa469f2d421434f2 (patch)
tree58584a28fb5b32d6b4e4be5369fe328f33e0e9b0
parent4c3486bec95312553a699f7681916cbd4b0b8c50 (diff)
$config['thumb_method']
-rw-r--r--inc/config.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/inc/config.php b/inc/config.php
index 1474bd46..95d0564d 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -360,11 +360,13 @@
// Requires $config['thumb_ext'] to be 'gif' $config['imagick'] to be enabled.
$config['thumb_keep_animation_frames'] = 1;
- // Use Imagick instead of GD (some further config options below are ignored if set)
- $config['imagick'] = false;
-
- // Use the command line version of ImagickMagick rather than the PHP bindings.
- $config['imagick_convert'] = false;
+ // Thumbnailing method:
+ // - 'gd' PHP GD (default). Only handles the most basic image formats (GIF, JPEG, PNG). This is a prerequisite
+ // for Tinyboard no matter what method you choose.
+ // - 'imagick' PHP's ImageMagick bindings. Fast and efficient, supporting many image formats. A few minor bugs.
+ // http://pecl.php.net/package/imagick
+ // - 'convert' The command line version of ImageMagick (`convert`). Fixes most of the bugs in PHP Imagick.
+ $config['thumb_method'] = 'gd';
// Regular expression to check for IE MIME type detection XSS exploit. To disable, comment the line out
// https://github.com/savetheinternet/Tinyboard/issues/20