diff --git a/core/vendor/filemanager/UploadHandler.php b/core/vendor/filemanager/UploadHandler.php index 780c54d3..439e2bdf 100755 --- a/core/vendor/filemanager/UploadHandler.php +++ b/core/vendor/filemanager/UploadHandler.php @@ -1436,8 +1436,8 @@ class UploadHandler $magicianObj -> saveImage($targetFile); } - - $thumbResult = create_img($targetFile, $targetFileThumb, 122, 91); + // Miniature Thumb + $thumbResult = create_img($targetFile, $targetFileThumb, 266, 200); if ( $thumbResult!==true) { diff --git a/core/vendor/filemanager/config/config.php b/core/vendor/filemanager/config/config.php index 084061d9..0bbd3943 100755 --- a/core/vendor/filemanager/config/config.php +++ b/core/vendor/filemanager/config/config.php @@ -458,12 +458,12 @@ $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' => true, //activate or not the creation of one or more image resized with relative path from upload folder + '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( './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( '', '' ), //name to append on filename - 'relative_image_creation_width' => array( 300, 225), //width of image (you can leave empty if you set height) - 'relative_image_creation_height' => array( 225, 300 ), //height of image (you can leave empty if you set width) + 'relative_image_creation_width' => array( 300, ''), //width of image (you can leave empty if you set height) + 'relative_image_creation_height' => array( 220, '' ), //height of image (you can leave empty if you set width) /* # $option: 0 / exact = defined size; # 1 / portrait = keep aspect set height; @@ -471,7 +471,7 @@ $config = array( # 3 / auto = auto; # 4 / crop= resize and crop; */ - 'relative_image_creation_option' => array( 'crop', 'crop' ), //set the type of the crop + 'relative_image_creation_option' => array( 'auto', 'auto' ), //set the type of the crop // Remember text filter after close filemanager for future session