[SOLVED]how show iamge in Chtml::linkbutton

hi

i need the sintax for show a image in




<?php echo CHtml::linkbutton("Lov", '#', array('onclick'=>'abrirVentana()','ImageUrl'=>'aflist.gif')); ?>



thanks

i newbie !!!

I rather try to create a link and define an img tag within the anchor.

<?php echo CHtml::linkButton( CHtml::image(…), …); ?>

thanks master!




<?php echo CHtml::link(CHtml::image('images/aflist.gif','Lov'), '#', array('onclick'=>'abrirVentana()')); ?>