Minimum width, and height validation?

Comments

1 comment

  • Avatar
    Stephen Doyle

    Hi Samuel,

    You can use our Incoming Transformations feature to apply a transformation to images at the time they're being uploaded. The transformation(s) you use on the incoming transformation can include resizing the image, cropping, changing the quality, etc. This doesn't specifically prevent a user from uploader a smaller file size or image dimensions than you require but would allow you to resize the images to an acceptable size before saving.

     

    If you're using our File upload widget, there are also client-side options to enforce a minimum height and/or width, via the minImageWidth and minImageHeight parameters of the widget. 

    If you have any other questions, or any problem getting either of those options to work, please let me know, or contact our support team via https://support.cloudinary.com/ 

    1
    Comment actions Permalink

Please sign in to leave a comment.