controller
public function accessRules()
    {
        return array('allow', 'actions' => array('captcha'), 'users' => array('*'));
    }
    public function actions()
    {
        return array(
            'captcha' => array(
                'class' => 'CCaptchaAction',
                'backColor' => 0xFFFFFF,
            ),
        );
    } 
in view
<?php if(CCaptcha::checkRequirements()) {
    $this->widget('CCaptcha');
} else echo 'Error';
?>
html code
<img title="Кликните по картинке, для смены символов" id="yw0" src="/site/captcha/v/526e7af489485/" alt=""> 
but there is no picture  ![]()