RFM default thumb size 640

This commit is contained in:
Fred Tempez 2024-09-07 08:10:03 +02:00 committed by Frédéric Tempez
parent 00a0c3d795
commit b73f8a1c28

View File

@ -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)
{ {