diff --git a/client/src/components/UserImages.js b/client/src/components/UserImages.js index ba1b2609c..d886c413f 100644 --- a/client/src/components/UserImages.js +++ b/client/src/components/UserImages.js @@ -11,8 +11,10 @@ import Button from '@material-ui/core/Button'; import Grid from '@material-ui/core/Grid' const options = { - accept: 'image/*', - maxFiles: 5, + accept: ['image/jpeg', 'image/jpg', 'image/png'], + maxFiles: 1, + imageDim: [300, 300], + maxSize: 0.25 * 1024 * 1024, // 1/4 of 1 Mb storeTo: { location: 's3', }, @@ -52,8 +54,7 @@ class UserImages extends React.Component { return (
- - 1 + 2