summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/media/components/media.formImage.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/media/components/media.formImage.js')
-rw-r--r--animism-align/frontend/app/views/media/components/media.formImage.js6
1 files changed, 1 insertions, 5 deletions
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,