]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Change max. image dimensions to 1920x1080px (1080p)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 9 Feb 2021 00:21:06 +0000 (01:21 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Fri, 12 Feb 2021 09:46:00 +0000 (10:46 +0100)
Port acf1842896682674d9ab4d0f87ec04c6174468fa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/util/resize_image.js

index 57fc6a6ec5a3084c8ecbf3d3087c906033336316..fb8c3c11e6ae9324a2723a40eedd810b24bdb7ca 100644 (file)
@@ -1,6 +1,6 @@
 import EXIF from 'exif-js';
 
-const MAX_IMAGE_PIXELS = 1638400; // 1280x1280px
+const MAX_IMAGE_PIXELS = 2073600; // 1920x1080px
 
 const _browser_quirks = {};