public function init()
 {
     if ($this->dataProvider === null) {
         $this->dataProvider = MediaFile::getDataProvider($this->model, $this->tag);
     }
     $this->assets = Yii::app()->getModule('media')->assetsUrl();
     parent::init();
 }