From 24661f00461f0ea56c290770c698f8671e66bb37 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 13 Aug 2020 18:35:58 +0200 Subject: scrolling viewer sections --- .../frontend/app/views/media/components/media.formImage.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'animism-align/frontend/app/views/media/components/media.formImage.js') diff --git a/animism-align/frontend/app/views/media/components/media.formImage.js b/animism-align/frontend/app/views/media/components/media.formImage.js index 04b821f..7f22af0 100644 --- a/animism-align/frontend/app/views/media/components/media.formImage.js +++ b/animism-align/frontend/app/views/media/components/media.formImage.js @@ -4,17 +4,13 @@ import { Link } from 'react-router-dom' import { session } from 'app/session' import actions from 'app/actions' import { capitalize, preloadImage, cropImage } from 'app/utils' +import { DISPLAY_SIZE, DISPLAY_QUALITY, THUMBNAIL_SIZE, THUMBNAIL_QUALITY } from 'app/constants' import { TextInput, LabelDescription, UploadImage, Select, TextArea, Checkbox, SubmitButton, Loader } from 'app/common' import { renderThumbnail } from 'app/common/upload.helpers' import ImageSelection from './media.formImageSelection' -const DISPLAY_SIZE = 2000 -const DISPLAY_QUALITY= 80 -const THUMBNAIL_SIZE = 320 -const THUMBNAIL_QUALITY = 80 - export default class MediaImageForm extends Component { state = { img: null, -- cgit v1.2.3-70-g09d2