From 41642c66687cc61467823c6848631a549a9ee58b Mon Sep 17 00:00:00 2001 From: Daggertooth Date: Sun, 15 Apr 2018 01:49:22 -0500 Subject: [PATCH] Allow 4k image uploads --- app/models/media_attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 65f00e1c8..ea17bae1d 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -42,7 +42,7 @@ class MediaAttachment < ApplicationRecord IMAGE_STYLES = { original: { - pixels: 1_638_400, # 1280x1280px + pixels: 16777216, # 4096x4096px file_geometry_parser: FastGeometryParser, },