Use uploadify in your Yii application - a jQuery file upload plugin script