Browse Source

Update image.helper.php

develop
tianya 6 months ago
parent
commit
2252a7f04a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/helpers/image.helper.php

+ 1
- 1
src/system/helpers/image.helper.php View File

@@ -138,7 +138,7 @@ if (!function_exists('ImageResizeNew')) {
{
try {
$image = new ImageResize($srcFile);
$image->resizeToBestFit($toW, $toH);
$image->resize($toW, $toH);
if ($issave) {
$image->save($toFile);
} else {


Loading…
Cancel
Save