$config['thumb_method']

This commit is contained in:
Michael Save 2012-03-17 11:54:23 +11:00
parent 4c3486bec9
commit 290b2b2dea

View File

@ -360,11 +360,13 @@
// Requires $config['thumb_ext'] to be 'gif' $config['imagick'] to be enabled. // Requires $config['thumb_ext'] to be 'gif' $config['imagick'] to be enabled.
$config['thumb_keep_animation_frames'] = 1; $config['thumb_keep_animation_frames'] = 1;
// Use Imagick instead of GD (some further config options below are ignored if set) // Thumbnailing method:
$config['imagick'] = false; // - '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.
// Use the command line version of ImagickMagick rather than the PHP bindings. // - 'imagick' PHP's ImageMagick bindings. Fast and efficient, supporting many image formats. A few minor bugs.
$config['imagick_convert'] = false; // 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 // Regular expression to check for IE MIME type detection XSS exploit. To disable, comment the line out
// https://github.com/savetheinternet/Tinyboard/issues/20 // https://github.com/savetheinternet/Tinyboard/issues/20