Can I set an image size restriction for an upload image? example must be 320x320 but not more than 1000x1000