From ca6d36227a9273f616a462d3aad6a721ab5dd627 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jan 2020 11:53:38 +0100 Subject: Add url field in caption and use it for thumbnails --- server/initializers/constants.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'server/initializers/constants.ts') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 64803b1db..3a9946bba 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -14,7 +14,7 @@ import { CONFIG, registerConfigChangedHandler } from './config' // --------------------------------------------------------------------------- -const LAST_MIGRATION_VERSION = 475 +const LAST_MIGRATION_VERSION = 480 // --------------------------------------------------------------------------- @@ -541,11 +541,13 @@ let STATIC_MAX_AGE = { // Videos thumbnail size const THUMBNAILS_SIZE = { width: 223, - height: 122 + height: 122, + minWidth: 150 } const PREVIEWS_SIZE = { width: 850, - height: 480 + height: 480, + minWidth: 400 } const AVATARS_SIZE = { width: 120, -- cgit v1.2.3