Those were the last piece in my old .dotfiles repository. The whole configuration is now defined here. Only customer specifics are in a separate location / repo to not expose any sensible data.
27 lines
844 B
PHP
27 lines
844 B
PHP
<?php
|
|
|
|
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['imageoptimizer'] = [
|
|
'debug' => '0',
|
|
'gifBinary' => 'gifsicle',
|
|
'gifCheck' => 'gif',
|
|
'gifOnProcessing' => '0',
|
|
'gifOnUpload' => '0',
|
|
'gifParametersOnProcessing' => '--batch -O2 %s',
|
|
'gifParametersOnUpload' => '--batch -O2 %s',
|
|
'jpgBinary' => 'jpegoptim',
|
|
'jpgCheck' => 'jpg',
|
|
'jpgOnProcessing' => '0',
|
|
'jpgOnUpload' => '0',
|
|
'jpgParametersOnProcessing' => '--strip-all %s',
|
|
'jpgParametersOnUpload' => '--strip-all %s',
|
|
'pngBinary' => 'optipng',
|
|
'pngCheck' => 'png',
|
|
'pngOnProcessing' => '0',
|
|
'pngOnUpload' => '0',
|
|
'pngParametersOnProcessing' => '-o2 %s',
|
|
'pngParametersOnUpload' => '-o2 %s',
|
|
'svgBinary' => 'svgo',
|
|
'svgCheck' => 'svg',
|
|
'svgOnUpload' => '0',
|
|
'svgParametersOnUpload' => '--pretty %s',
|
|
];
|