forked from ZwiiCMS-Team/ZwiiCMS
RFM default thumb size 640
This commit is contained in:
parent
dfceb941db
commit
3f1d19f53e
6
core/vendor/filemanager/UploadHandler.php
vendored
6
core/vendor/filemanager/UploadHandler.php
vendored
@ -1505,9 +1505,9 @@ class UploadHandler
|
|||||||
$magicianObj -> saveImage($targetFile);
|
$magicianObj -> saveImage($targetFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$newWidth = 640;
|
||||||
|
$newHeight = 480;
|
||||||
$thumbResult = create_img($targetFile, $targetFileThumb, 122, 91);
|
$thumbResult = create_img($targetFile, $targetFileThumb, $newWidth, $newHeight);
|
||||||
|
|
||||||
if ( $thumbResult!==true)
|
if ( $thumbResult!==true)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user