Image Dimensions
Enforce minimum and maximum image dimensions before upload. Reject images that don't meet width and height requirements.
What you should see: images smaller than 200×200 px are rejected. The check reads the image header in the browser, so an undersized file never uploads.
Drag & drop files here, or paste from clipboard
Images smaller than 200 x 200 pixels will be rejected before upload.
<core-upload asp-upload-url="/api/upload/upload"
asp-extensions=".jpg,.png"
asp-min-width="200"
asp-min-height="200"
asp-multiple="true"
asp-progress="true"
asp-thumbnails="true">
</core-upload> Rules in pixels
asp-min-width and asp-min-height reject images below the resolution you need, checked in the browser before anything is sent. The maximum counterparts bound the other end.
File size cannot answer this question
A logo 200 px wide can be a large file, and a 6000 px scan can compress small. If your layout needs a minimum resolution, pixels are the only test that answers it — and it lets you tell the user something useful: “needs to be at least 800 px wide” rather than “file too small”.