1

我正在使用响应式文件管理器将图像上传到我的网站。但是,有一个问题是,每当我上传图像时,它会立即调整大小并裁剪为更小的尺寸。有谁知道为什么会发生这种情况,有没有办法阻止它。

谢谢。

4

1 回答 1

0

您可以检查config.php文件并设置$image_resizingfalse

//Automatic resizing //
    // If you set $image_resizing to TRUE the script converts all uploaded images exactly to image_resizing_width x image_resizing_height dimension
    // If you set width or height to 0 the script automatically calculates the other dimension
    // Is possible that if you upload very big images the script not work to overcome this increase the php configuration of memory and time limit
    'image_resizing'                          => false,
    'image_resizing_width'                    => 0,
    'image_resizing_height'                   => 0,
    'image_resizing_mode'                     => 'auto', // same as $image_max_mode
    'image_resizing_override'                 => false,
    // If set to TRUE then you can specify bigger images than $image_max_width & height otherwise if image_resizing is
    // bigger than $image_max_width or height then it will be converted to those values
于 2017-01-28T10:28:36.183 回答