You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pascal Schneider edited this page Jan 25, 2022
·
2 revisions
You can override some of the default configuration via your config/app_local.php or config/app.php.
See the examples below, which might not be up-to-date. You can take a look at the plugin's config file at /config/app_assets.php for the default settings.
/**
* Configuration for the Assets Plugin
*/
'AssetsPlugin' => [
'AssetsTable' => [
// path where original files are saved.
'assetsDir' => "resources" . DS . "assets" . DS,
'displayField' => 'title',
'Behaviors' => [],
],
'ImageAsset' => [
// driver can be 'imagick' or 'gd'
'driver' => 'gd',
// path where modified images are saved.
'outDir' => DS . Configure::read('App.imageBaseUrl') . 'modified' . DS,
],
],