Change account header file limit 2MB -> 4BM
This commit is contained in:
parent
f8dd06a32f
commit
fc8d4a7a0c
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module AccountHeader
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
|
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
|
||||||
LIMIT = 2.megabytes
|
LIMIT = 4.megabytes
|
||||||
MAX_PIXELS = 750_000 # 1500x500px
|
MAX_PIXELS = 750_000 # 1500x500px
|
||||||
|
|
||||||
class_methods do
|
class_methods do
|
||||||
|
|
Loading…
Reference in a new issue