how to display an image instead of the file field in yii

lovedams

New Member
In yii i have a \[code\]echo CHtml::activeFileField($model, 'image');\[/code\] . it displays the usual \[code\]<input type="field ...\[/code\] DOM object . how can i display an image instead of the file input field . so when clicked the user can choose a file ?is there a way to do it via yii ? or jquery in yii ? Thank you
 
Back
Top