Upload And Display Image

how to upload an image and display it? display to the user profile.

hi

check this

http://www.yiiframework.com/wiki/2/how-to-upload-a-file-using-a-model/

after of that you could use CHtml::image int the appropriate view file

http://www.yiiframework.com/doc/api/1.1/CHtml#image-detail