posterPortraitPath; $portreait = 1; } else { $width = 1280; $height = 720; $path = empty($images->posterLandscapePath) ? "{$global['systemRootPath']}view/img/notfound.jpg" : $images->posterLandscapePath; $portreait = 0; } $image = str_replace([$global['systemRootPath'], DIRECTORY_SEPARATOR], [$global['webSiteRootURL'], '/'], $path); $image = addQueryStringParameter($image, 'cache', filectime($path)); //var_dump($image, $images);exit; $croppie1 = getCroppie(__("Upload Poster"), "saveVideo", $width, $height, $viewportWidth); echo $croppie1['html']; ?>