Validate image width and height before upload using EnableImageDimensions="true".
Set minimum and maximum pixel dimensions with MinImageWidth, MinImageHeight,
MaxImageWidth, and MaxImageHeight.
Drag & drop files here, or paste from clipboard
<au:AjaxFileUpload ID="Uploader1" runat="server"
AllowedExtensions=".jpg,.png,.gif,.webp"
EnableImageDimensions="true"
MinImageWidth="200"
MinImageHeight="200"
MaxImageWidth="4000"
MaxImageHeight="4000"
ButtonText="Select Image"
AutoUpload="true"
ShowProgress="true" />
Images must be at least 200x200 and no larger than 4000x4000 pixels.
Try uploading a small icon or a very large image to see the validation.