Fix Image size validation for Upload Widget
I am using File Upload Widget to upload images for Cloudinary, I have a requirement of uploading a specific size Image, I tried to set following parameters, but only minimum height and width validation are working.
maxImageWidth
maxImageHeight
validateMaxWidthHeight
minImageWidth
minImageHeight
Can anyone help me with this?
-
Hi Anand,
Setting specific dimensions to your images should be defined using an incoming transformation in your upload preset. For more information on configuring your upload preset please refer to the following documentation- https://cloudinary.com/documentation/upload_images#upload_presets
0 -
Hi Raya Straus,
Thanks for the reply, I am using the following widget, not the Direct API
https://cloudinary.com/documentation/upload_widget_1
I found that 'validateMaxWidthHeight' parameters only works on Lastest widget not on the first version.
0 -
Can you please provide us with your implementation along with the file you're attempting to upload?
0
Post is closed for comments.
Comments
3 comments