mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add option to always reencode images #2601
This commit is contained in:
parent
e676949669
commit
2a9b336988
5 changed files with 25 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ class FileAdminController extends File
|
|||
$config->image_quality_adjustment = max(50, min(100, intval(Context::get('image_quality_adjustment'))));
|
||||
$config->image_autorotate = Context::get('image_autorotate') === 'Y' ? true : false;
|
||||
$config->image_remove_exif_data = Context::get('image_remove_exif_data') === 'Y' ? true : false;
|
||||
$config->image_always_reencode = Context::get('image_always_reencode') === 'Y' ? true : false;
|
||||
|
||||
// Video settings
|
||||
$config->max_video_width = intval(Context::get('max_video_width')) ?: '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue