mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +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
|
|
@ -1072,9 +1072,9 @@ class documentItem extends BaseObject
|
|||
{
|
||||
return;
|
||||
}
|
||||
if(!in_array($thumbnail_type, array('crop', 'ratio')))
|
||||
if(!in_array($thumbnail_type, array('crop', 'ratio', 'fill', 'stretch', 'center')))
|
||||
{
|
||||
$thumbnail_type = $config->thumbnail_type ?: 'crop';
|
||||
$thumbnail_type = $config->thumbnail_type ?: 'fill';
|
||||
}
|
||||
if(!$config->thumbnail_quality)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue