From a21b08a9a4e32cad52a03220bcf660b7ff971a63 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 8 Oct 2013 16:06:04 +0200 Subject: [PATCH] Enable and configure the imagick editor --- .../plugins/conf.serial/plugins_configs.ser/10All | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All b/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All index c2f57ec..4c158b2 100644 --- a/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All +++ b/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/conf.serial/plugins_configs.ser/10All @@ -62,6 +62,16 @@ $data->{'index.lucene'} = { 'index_content' => '__true__' }; +$data->{'editor.imagick'} = { + 'IM_VIEWER_QUALITY' => '90', + 'AJXP_PLUGIN_ENABLED' => '1', + 'ONTHEFLY_THRESHOLD' => '3', + 'ADDITIONAL_ENV_PATH' => '', + 'IM_THUMB_QUALITY' => '65', + 'IMAGE_MAGICK_CONVERT' => '/usr/bin/convert', + 'UNOCONV' => 'HOME=/var/cache/ooo /usr/bin/unoconv --server 127.0.0.1', + 'IM_CUSTOM_OPTIONS' => '-strip' +}; $data = serialize($data); # PHP::Serialization has now way to