mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 20:11:37 +01:00
Allow higher-resolution images (4096x4096)
This commit is contained in:
parent
1c419a9af3
commit
62e16b7f16
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import EXIF from 'exif-js';
|
||||
|
||||
const MAX_IMAGE_PIXELS = 2073600; // 1920x1080px
|
||||
const MAX_IMAGE_PIXELS = 16777216; // 4096x4096px
|
||||
|
||||
const _browser_quirks = {};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import EXIF from 'exif-js';
|
||||
|
||||
const MAX_IMAGE_PIXELS = 2073600; // 1920x1080px
|
||||
const MAX_IMAGE_PIXELS = 16777216; // 4096x4096px
|
||||
|
||||
const _browser_quirks = {};
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ class MediaAttachment < ApplicationRecord
|
|||
|
||||
IMAGE_STYLES = {
|
||||
original: {
|
||||
pixels: 2_073_600, # 1920x1080px
|
||||
pixels: 16_777_216, # 4096x4096px
|
||||
file_geometry_parser: FastGeometryParser,
|
||||
}.freeze,
|
||||
|
||||
|
|
Loading…
Reference in a new issue