CCaptcha imageOptions

Hi,

I am trying to inject some HTML styles into a Captcha widge image using the Captcha::imageOption property. The code below throws a php error(Fatal error: Cannot unset string offsets in /.../framework/web/helpers/CHtml.php on line 2109) I assume this would insert the parameters into the <img> tag, but it appears I am wrong. The class reference does not explain this one. Can anyone show me a quick example?


 		<?php $this->widget('CCaptcha',array(

    		  'buttonType'=>'link',

    		  'imageOptions'=>'style="display:block;"'

    		)); ?>

Solved my own issue by following convention. Sent an array of options:


		<?php $this->widget('CCaptcha',array(

    		  'buttonType'=>'link',

    		  'imageOptions'=>array(

    		    'style'=>'display:block;',

    		    'alt' => 'tee time booking captcha',

    		    )

    		)); ?>