Browse Source

Merge pull request #3360 from centralhardware/increase_avatar_size

Increase avatar size
Lauri Ojansivu 4 years ago
parent
commit
09617e17d9
3 changed files with 3 additions and 3 deletions
  1. 1 1
      i18n/en-GB.i18n.json
  2. 1 1
      i18n/en.i18n.json
  3. 1 1
      models/avatars.js

+ 1 - 1
i18n/en-GB.i18n.json

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

+ 1 - 1
i18n/en.i18n.json

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

+ 1 - 1
models/avatars.js

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