settings: cinemas picker
This commit is contained in:
@@ -30,9 +30,9 @@ function setPageMime($sType='html')
|
||||
if($sType!='html' && array_key_exists($sType, $asMainTypes)) header('Content-type: '.$asMainTypes[$sType].'/'.$sType);
|
||||
}
|
||||
|
||||
function getTrimImage($iFilmId, $sinPath, $sImageExt)
|
||||
function getTrimImage($iFilmId, $sSize, $sinPath, $sImageExt)
|
||||
{
|
||||
$sOutPath = 'images/'.$iFilmId.'.'.$sImageExt;
|
||||
$sOutPath = 'images/'.$iFilmId.'_'.$sSize.'.'.$sImageExt;
|
||||
if(!file_exists($sOutPath))
|
||||
{
|
||||
$oImage = call_user_func('imagecreatefrom'.$sImageExt, $sinPath);
|
||||
|
||||
Reference in New Issue
Block a user