temporarily allow larger images for paperclip migration

This commit is contained in:
Christoph Haas 2021-02-14 01:21:00 +01:00
parent 41103d3c8a
commit 011d479cb0

View file

@ -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