mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-10 05:52:13 +09:00
Set 'fill' as default thumbnail method
This commit is contained in:
parent
175b797ee1
commit
71d71a886c
7 changed files with 29 additions and 22 deletions
|
|
@ -808,7 +808,7 @@ class adminAdminController extends admin
|
|||
$oDocumentModel = getModel('document');
|
||||
$document_config = $oDocumentModel->getDocumentConfig();
|
||||
$document_config->thumbnail_target = $vars->thumbnail_target ?: 'all';
|
||||
$document_config->thumbnail_type = $vars->thumbnail_type ?: 'crop';
|
||||
$document_config->thumbnail_type = $vars->thumbnail_type ?: 'fill';
|
||||
$document_config->thumbnail_quality = intval($vars->thumbnail_quality) ?: 75;
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->insertModuleConfig('document', $document_config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue