From 417ffc21deeb4be5e2644846f2818ec63b4cbaa6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 28 Oct 2020 18:05:04 +0100 Subject: poster image size --- animism-align/frontend/app/constants.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'animism-align/frontend/app/constants.js') diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js index b6b3bf2..647efbc 100644 --- a/animism-align/frontend/app/constants.js +++ b/animism-align/frontend/app/constants.js @@ -99,6 +99,13 @@ export const CURTAIN_COLOR_LOOKUP = CURTAIN_COLORS.reduce((a,b) => { return a }, {}) +export const IMAGE_BACKGROUND_SIZE_OPTIONS = [ + { label: 'cover', name: 'cover' }, + { label: 'contain', name: 'contain' }, + { label: '90% width', name: '90% auto' }, + { label: '90% height', name: 'auto 90%' }, +] + export const DISPLAY_SIZE = 2000 export const DISPLAY_QUALITY= 80 export const THUMBNAIL_SIZE = 320 -- cgit v1.2.3-70-g09d2