protected function _process() { $params = $this->_request->getQuery(); $captcha = new CM_Captcha($params['id']); $this->setHeader('Content-Type', 'image/png'); $this->_setContent($captcha->render(200, 40)); }