<p>You can ad {author.username} to the file upload field, that way their files will always be in the folder of the user. </p>

<p>With assets you can define scale sizes which works way better then forcing a fixed size. It doesn't stop someone from uploading a 36 Mp image though. As far as I know it's impossible to check the canvas size before upload.</p>

CC BY-SA 3.0
2014-07-25T15:51:20.867Z
Thanks. I guess the only thing I worry about with not being able to check size is that for the design to work and not break, I need them to be, say, 400x400 and someone uploads a 75x75. Thing are going to look bad. I guess there's where a flagging feature or something might have to come into play. not sure.
dsizemore
CC BY-SA 3.0
2014-07-25T16:15:37.100Z
That should be possible after upload anyway. With the entry form you can upload files,the return page could check the size and produce a warning if it's to small.
noregt
CC BY-SA 3.0
2014-07-25T15:46:59.437Z
2014-07-25T15:46:59.437Z
noregt
<p>I'm considering using Craft for a new site. One requirement will be allowing members to upload and manage images. With Craft, can I set a size requirement for member uploaded images? So for example, if I only wanted to allow 400x400 image size to be uploaded, could I lock it down so that any image smaller or larger will just give an error?</p>

<p>If that's not possible, is there a way to resize/crop a large image down to the correct size?</p>

<users>
Member uploaded images
# Member uploaded images

(Asked by: username_0 on 2014-07-25)

I'm considering using Craft for a new site. One requirement will be allowing members to upload and manage images. With Craft, can I set a size requirement for member uploaded images? So for example, if I only wanted to allow 400x400 image size to be uploaded, could I lock it down so that any image smaller or larger will just give an error?

If that's not possible, is there a way to resize/crop a large image down to the correct size?

**Tags:** users

---

## 1 answers

### Answer by username_1 on 2014-07-25. Score: 2 | Accepted answer

You can ad {author.username} to the file upload field, that way their files will always be in the folder of the user.

With assets you can define scale sizes which works way better then forcing a fixed size. It doesn't stop someone from uploading a 36 Mp image though. As far as I know it's impossible to check the canvas size before upload.

> **Comments:**
> **username_0**: Thanks. I guess the only thing I worry about with not being able to check size is that for the design to work and not break, I need them to be, say, 400x400 and someone uploads a 75x75. Thing are going to look bad. I guess there's where a flagging feature or something might have to come into play. not sure.  
> **username_1**: That should be possible after upload anyway. With the entry form you can upload files,the return page could check the size and produce a warning if it's to small.  

---

