forked from ZwiiCMS-Team/ZwiiCMS
[9.0.08] RFM Thumb config
This commit is contained in:
parent
c859531181
commit
11ad97e894
2
core/vendor/filemanager/UploadHandler.php
vendored
2
core/vendor/filemanager/UploadHandler.php
vendored
@ -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)
|
||||
{
|
||||
|
8
core/vendor/filemanager/config/config.php
vendored
8
core/vendor/filemanager/config/config.php
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user