Merge pull request #3360 from centralhardware/increase_avatar_size

Increase avatar size
This commit is contained in:
Lauri Ojansivu 2020-11-20 20:38:01 +02:00 committed by GitHub
commit 09617e17d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@
"attachmentDeletePopup-title": "Delete Attachment?",
"attachments": "Attachments",
"auto-watch": "Automatically watch boards when they are created",
"avatar-too-big": "The avatar is too large (70KB max)",
"avatar-too-big": "The avatar is too large (520KB max)",
"back": "Back",
"board-change-color": "Change colour",
"board-nb-stars": "%s stars",

View file

@ -120,7 +120,7 @@
"attachmentDeletePopup-title": "Delete Attachment?",
"attachments": "Attachments",
"auto-watch": "Automatically watch boards when they are created",
"avatar-too-big": "The avatar is too large (70KB max)",
"avatar-too-big": "The avatar is too large (520KB max)",
"back": "Back",
"board-change-color": "Change color",
"board-nb-stars": "%s stars",

View file

@ -1,7 +1,7 @@
Avatars = new FS.Collection('avatars', {
stores: [new FS.Store.GridFS('avatars')],
filter: {
maxSize: 72000,
maxSize: 520000,
allow: {
contentTypes: ['image/*'],
},