about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorDaggertooth <dev@monsterpit.net>2018-04-15 01:49:22 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:20 -0500
commit41642c66687cc61467823c6848631a549a9ee58b (patch)
tree50e36a32ac2a536f909a57df5005d2ff83fc985e /app
parent70649ca277701dbe41d3412a6d89f259dce8c504 (diff)
Allow 4k image uploads
Diffstat (limited to 'app')
-rw-r--r--app/models/media_attachment.rb2
1 files changed, 1 insertions, 1 deletions
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,
     },