protected function resizeImage($image, $width, $height, $mode = '')
{
@trigger_error('Using Controller::resizeImage() has been deprecated and will no longer work in Contao 5.0. Use Image::resize() instead.', E_USER_DEPRECATED);
return \Image::resize($image, $width, $height, $mode);
}