浏览代码

feat(web): add (lower) thumbnail resolution options (#5107)

* Added extra lower resolution options for thumbnails

Added 200p and 720p as options for small and large thumbnails resolutions respectively.

* Also included 1080p in large thumbnails resolution options
davidacampos 1 年之前
父节点
当前提交
47a4984a56
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      web/src/lib/components/admin-page/settings/thumbnail/thumbnail-settings.svelte

+ 3 - 0
web/src/lib/components/admin-page/settings/thumbnail/thumbnail-settings.svelte

@@ -91,6 +91,7 @@
               { value: 720, text: '720p' },
               { value: 480, text: '480p' },
               { value: 250, text: '250p' },
+              { value: 200, text: '200p' },
             ]}
             name="resolution"
             isEdited={thumbnailConfig.webpSize !== savedConfig.webpSize}
@@ -105,6 +106,8 @@
             options={[
               { value: 2160, text: '4K' },
               { value: 1440, text: '1440p' },
+              { value: 1080, text: '1080p' },
+              { value: 720, text: '720p' },
             ]}
             name="resolution"
             isEdited={thumbnailConfig.jpegSize !== savedConfig.jpegSize}