1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 21:07:17 +00:00

[thumbnail] added 'thumbnail_size_for_original'

This commit is contained in:
llj
2017-05-31 16:08:44 +08:00
parent f7ed342e2d
commit 8dd8e1e7f0
8 changed files with 11 additions and 7 deletions

View File

@@ -519,6 +519,7 @@ THUMBNAIL_EXTENSION = 'png'
# for thumbnail: height(px) and width(px)
THUMBNAIL_DEFAULT_SIZE = 48
THUMBNAIL_SIZE_FOR_GRID = 192
THUMBNAIL_SIZE_FOR_ORIGINAL = 1024
# size(MB) limit for generate thumbnail
THUMBNAIL_IMAGE_SIZE_LIMIT = 20