public function getPosterUrl($scaleType = 'default', $scale = null, $https = null)
    {
        //brak pliku
        if (null === $this->id || !$this->data->posterFileName) {
            return;
        }
        //ścieżka CDN
        $cdnPath = rtrim(\Mmi\App\FrontController::getInstance()->getView()->cdn ? \Mmi\App\FrontController::getInstance()->getView()->cdn : \Mmi\App\FrontController::getInstance()->getView()->url([], true, $https), '/');
        //pobranie ścieżki z systemu plików
        return $cdnPath . (new \Cms\Model\FileSystemModel($this->data->posterFileName))->getPublicPath($scaleType, $scale);
    }