Additional thumbnail type

Is it possible to add an additonal thumbnail type eg. xlarge with 'xlarge' => ['constraint' => 1000],? I’ve added the parameter to the /config/local.config.php file, but it crashes the thumbnail generation.

I’ve found a related post concerning Omeka Classic.
https://forum.omeka.org/t/add-strategy-for-derivative-files/3492

“Crashes” meaning there’s an error? Do you have the message?