Add option to always reencode images #2601

This commit is contained in:
Kijin Sung 2025-10-25 12:36:18 +09:00
parent e676949669
commit 2a9b336988
5 changed files with 25 additions and 0 deletions

View file

@ -129,6 +129,20 @@
<p class="x_text-info" cond="!function_exists('exif_read_data')">{$lang->msg_cannot_use_exif}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->image_always_reencode}</label>
<div class="x_controls">
<label for="image_always_reencode_Y" class="x_inline">
<input type="radio" name="image_always_reencode" id="image_always_reencode_Y" value="Y" checked="checked"|cond="$config->image_always_reencode === true" />
{$lang->cmd_yes}
</label>
<label for="image_always_reencode_N" class="x_inline">
<input type="radio" name="image_always_reencode" id="image_always_reencode_N" value="N" checked="checked"|cond="$config->image_always_reencode !== true" />
{$lang->cmd_no}
</label>
<p class="x_help-block">{$lang->about_image_always_reencode}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->image_autoconv_gif2mp4}</label>
<div class="x_controls">