CodeIgniter Forums
Need "min_dims" validation rule - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter 4 (
+--- Forum: CodeIgniter 4 Feature Requests (
+--- Thread: Need "min_dims" validation rule (/showthread.php?tid=79421)

Need "min_dims" validation rule - MrWhite - 06-13-2021

Under image upload validation rules, we dont have validation rule to check minimum height and width of uploading images. We only have "max_dims". Its great we can have a rule like min_dims.

RE: Need "min_dims" validation rule - MGatner - 06-17-2021

Sounds like a great feature for your first contribution Smile

RE: Need "min_dims" validation rule - JLDR - 08-16-2021

I have implemented the rule you are requesting and made already a pull request on GitHub:

Tested and working, following the same structure of max_dims function and error message.