diff --git a/core/vendor/filemanager/UploadHandler.php b/core/vendor/filemanager/UploadHandler.php index 670a5549..780c54d3 100755 --- a/core/vendor/filemanager/UploadHandler.php +++ b/core/vendor/filemanager/UploadHandler.php @@ -1437,7 +1437,7 @@ class UploadHandler $magicianObj -> saveImage($targetFile); } - $thumbResult = create_img($targetFile, $targetFileThumb, 266, 200); + $thumbResult = create_img($targetFile, $targetFileThumb, 122, 91); if ( $thumbResult!==true) { diff --git a/core/vendor/filemanager/config/config.php b/core/vendor/filemanager/config/config.php index 6689e4de..3ec54db0 100755 --- a/core/vendor/filemanager/config/config.php +++ b/core/vendor/filemanager/config/config.php @@ -458,11 +458,11 @@ $config = array( // just simply add a value in the array // The image creation path is always relative so if i'm inside source/test/test1 and I upload an image, the path start from here // - 'relative_image_creation' => false, //activate or not the creation of one or more image resized with relative path from upload folder - 'relative_path_from_current_pos' => array( './', './' ), //relative path of the image folder from the current position on upload folder + 'relative_image_creation' => true, //activate or not the creation of one or more image resized with relative path from upload folder + 'relative_path_from_current_pos' => array( './thumb', '' ), //relative path of the image folder from the current position on upload folder 'relative_image_creation_name_to_prepend' => array( '', '' ), //name to prepend on filename - 'relative_image_creation_name_to_append' => array( '_thumb', '_thumb1' ), //name to append on filename - 'relative_image_creation_width' => array( 300, 400 ), //width of image (you can leave empty if you set height) + 'relative_image_creation_name_to_append' => array( '', '' ), //name to append on filename + 'relative_image_creation_width' => array( 266, ''), //width of image (you can leave empty if you set height) 'relative_image_creation_height' => array( 200, '' ), //height of image (you can leave empty if you set width) /* # $option: 0 / exact = defined size;