private function configImgSize()
    {
        $settings = Yii::$app->settings;
        $settings->set('media_configuration', 'thumbnail_size_width', $this->thumbnail_size_width);
        $settings->set('media_configuration', 'thumbnail_size_height', $this->thumbnail_size_height);
        $settings->set('media_configuration', 'medium_size_width', $this->medium_size_width);
        $settings->set('media_configuration', 'medium_size_height', $this->medium_size_height);
        $settings->set('media_configuration', 'large_size_width', $this->large_size_width);
        $settings->set('media_configuration', 'large_size_height', $this->large_size_height);
    }