Skip to content

Instantly share code, notes, and snippets.

@john-henry
Created July 14, 2016 11:37
Show Gist options
  • Save john-henry/10993d74fbfdb52925b72a620cef6706 to your computer and use it in GitHub Desktop.
Save john-henry/10993d74fbfdb52925b72a620cef6706 to your computer and use it in GitHub Desktop.
CE Lossless sample config for ExpressionEngine
$config['ce_lossless_enabled'] = 'jpegoptim|optipng';
$config['ce_lossless_linux_path'] = '/usr/bin/';
$config['ce_lossless_log_output'] = 'y';
$config['ce_lossless_native_hook_enabled'] = 'no';
$config['ce_lossless_commands'] = array(
'optipng' => '-quiet -o7 {{path}}',
'jpegoptim' => '--strip-all --all-progressive -q {{path}}'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment