ImageMagick support (including SVG, etc.)

This commit is contained in:
Savetheinternet 2011-07-22 19:40:57 +10:00
parent f9bcde6e3d
commit ab0d6e27d7
2 changed files with 59 additions and 6 deletions

View file

@ -200,6 +200,9 @@
// Thumbnail extension, empty for inherited (png recommended)
$config['thumb_ext'] = 'png';
// Use Imagick instead of GD (some further config options below are ignored if set)
$config['imagick'] = false;
// Thumbnail quality (compression level), from 0 to 9
$config['thumb_quality'] = 7;
@ -609,6 +612,7 @@
// Allowed image file extensions
$config['allowed_ext'] = Array('jpg', 'jpeg', 'bmp', 'gif', 'png');
// $config['allowed_ext'][] = 'svg';
// Allowed additional file extensions (not images; downloadable files)
$config['allowed_ext_files'] = Array();