Automatically resize images on upload.
return [
'medienbaecker.autoresize.maxWidth' => 2000,
'medienbaecker.autoresize.maxHeight' => 2000,
'medienbaecker.autoresize.quality' => 90,
'medienbaecker.autoresize.excludeTemplates' => [
'home',
'project'
],
'medienbaecker.autoresize.excludePages' => [
'projects/project-a'
],
];
Put the repository folder into your site/plugins
folder
or use Composer: composer require medienbaecker/autoresize