[9.0.08] RFM thumbs size not working

This commit is contained in:
fredtempez 2019-03-22 09:23:01 +01:00
parent 7878fb27c6
commit 7cfa0f6b72
2 changed files with 6 additions and 6 deletions

View File

@ -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)
{

View File

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