Limit Upload Max Size on Image Fields With Custom Validation

4 replies
Last updated: Mar 22, 2021
So really no body can tell me how to limit upload max size on image fields with the custom Validation?
Mar 22, 2021, 5:02 PM
Mar 22, 2021, 5:10 PM
Doing a fileload on the asset possibly?
Mar 22, 2021, 5:10 PM
user L
I have checked that. But from that example image has to be at min. 500pixels wide.
Mar 22, 2021, 5:11 PM
Yeah where they check the dimensions you can do something different.
Mar 22, 2021, 5:14 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in