protected function checkRequirements() { // GD2 support is available. if (!function_exists('imagegd2')) { return array('Image manipulations for the GD toolkit cannot run because the GD toolkit is not available.'); } return parent::checkRequirements(); }