mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Always use 'fill' thumbnail type by default
This commit is contained in:
parent
e7f3f75839
commit
f98964467c
2 changed files with 4 additions and 4 deletions
|
|
@ -577,12 +577,12 @@ class adminAdminView extends admin
|
|||
$oDocumentModel = getModel('document');
|
||||
$config = $oDocumentModel->getDocumentConfig();
|
||||
Context::set('thumbnail_target', $config->thumbnail_target ?: 'all');
|
||||
Context::set('thumbnail_type', $config->thumbnail_type ?: 'crop');
|
||||
Context::set('thumbnail_type', $config->thumbnail_type ?: 'fill');
|
||||
Context::set('thumbnail_quality', $config->thumbnail_quality ?: 75);
|
||||
if ($config->thumbnail_type === 'none')
|
||||
{
|
||||
Context::set('thumbnail_target', 'none');
|
||||
Context::set('thumbnail_type', 'crop');
|
||||
Context::set('thumbnail_type', 'fill');
|
||||
}
|
||||
|
||||
// Default and enabled languages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue