mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Make JPG quality in document/comment thumbnails configurable, too
This commit is contained in:
parent
94efb351f7
commit
68076b40c6
8 changed files with 20 additions and 3 deletions
|
|
@ -758,6 +758,7 @@ class adminAdminController extends admin
|
|||
$document_config = $oDocumentModel->getDocumentConfig();
|
||||
$document_config->thumbnail_target = $vars->thumbnail_target ?: 'all';
|
||||
$document_config->thumbnail_type = $vars->thumbnail_type ?: 'crop';
|
||||
$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