can we limit the dimensions of an image being uploaded?