From 11ad97e89415775fc88d87bfc61d6db4a7d0a48f Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 21 Mar 2019 20:23:26 +0100 Subject: [PATCH] [9.0.08] RFM Thumb config --- core/vendor/filemanager/UploadHandler.php | 2 +- core/vendor/filemanager/config/config.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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;