Crop image affter upload for Yii.