From 011d479cb04822dbdc981f9365d036b48a5a92f9 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 14 Feb 2021 01:21:00 +0100 Subject: [PATCH] temporarily allow larger images for paperclip migration --- app/uploaders/image_uploader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb index ff11a81..d372e4f 100644 --- a/app/uploaders/image_uploader.rb +++ b/app/uploaders/image_uploader.rb @@ -4,7 +4,7 @@ class ImageUploader < Shrine ALLOWED_TYPES = %w[image/jpeg image/png image/webp] MAX_SIZE = 5*1024*1024 # 5 MB - MAX_DIMENSIONS = [2000, 2000] # 2000x2000 + MAX_DIMENSIONS = [4000, 4000] # 2000x2000 plugin :remove_attachment plugin :pretty_location