Hello, how is it possible to resize a picture in a backend plugin ? I tried :
$categ->image()->add($file);
$categ->image->getThumb(100, 100, ['mode' => 'auto']);
but it create a new thum file "thumb_50_100_100_0_0_auto.jpg" instead of resizing the original file.
How is it possible to resize the original file ? Thanks