summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-10-01 22:19:15 +0500
committerilotterytea <iltsu@alright.party>2025-10-01 22:19:15 +0500
commit7022695c057d2d3cb526db92de2ffdf54ba8d10e (patch)
treecbd251b9beec397607e5dda6895806ebe4fbefa3 /public/index.php
parent21c125471b96176bbee0ea8cb8e3ef3b708eb7eb (diff)
feat: remove letterboxing from videos
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index 735f49d..a55199c 100644
--- a/public/index.php
+++ b/public/index.php
@@ -446,6 +446,14 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt');
<td><input type="checkbox" name="strip_exif_data" value="1" checked></td>
</tr>
<?php endif; ?>
+ <?php if (FILE_REMOVE_LETTERBOXES): ?>
+ <tr>
+ <th>Remove letterboxing<span class="help"
+ title="Removes black bars from the video, may be inaccurate, and only applies to videos">[?]</span>:
+ </th>
+ <td><input type="checkbox" name="remove_letterbox" value="1"></td>
+ </tr>
+ <?php endif; ?>
</table>
<button type="submit" class="fancy">Upload</button>
</form>