Not Displayed Image Captcha


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()) {


} else echo 'Error';


html code

<img title="Кликните по картинке, для смены символов" id="yw0" src="/site/captcha/v/526e7af489485/" alt=""> 

but there is no picture :(

I suggest you run the "Yii requirement checker" and check the GD extension