diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-29 10:09:11 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-31 09:36:45 -0400 |
commit | a541f09380ab2adbe4d0ba7c80ff72015767bd81 (patch) | |
tree | bcf701536501e9deff006607cc8c861de7bc24ce /web/react/utils/constants.jsx | |
parent | d0865b78b776714139f3a6e39527e00fb05b8ea6 (diff) | |
download | chat-a541f09380ab2adbe4d0ba7c80ff72015767bd81.tar.gz chat-a541f09380ab2adbe4d0ba7c80ff72015767bd81.tar.bz2 chat-a541f09380ab2adbe4d0ba7c80ff72015767bd81.zip |
image thumbnails now scale appropriately so there is no whitespace, also generalized some thumbnail loading code
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r-- | web/react/utils/constants.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 77ce19530..3509c9514 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -52,6 +52,8 @@ module.exports = { MAX_DISPLAY_FILES: 5, MAX_UPLOAD_FILES: 5, MAX_FILE_SIZE: 50000000, // 50 MB + THUMBNAIL_WIDTH: 128, + THUMBNAIL_HEIGHT: 100, DEFAULT_CHANNEL: 'town-square', OFFTOPIC_CHANNEL: 'off-topic', POST_CHUNK_SIZE: 60, |