浏览代码

Update image.helper.php

develop
tianya 3 个月前
父节点
当前提交
2252a7f04a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/system/helpers/image.helper.php

+ 1
- 1
src/system/helpers/image.helper.php 查看文件

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


正在加载...
取消
保存