为什么Responsive FileManager会在上传后调整图像大小?

时间:2016-09-10 21:18:08

标签: upload file-manager responsive-filemanager

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

感谢。

1 个答案:

答案 0 :(得分:0)

您可以查看config.php文件并将$image_resizing设置为false

//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