Skip to main content

Fix Image size validation for Upload Widget

Comments

3 comments

  • Raya Straus

    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
  • Anand

    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
  • Raya Straus

    Can you please provide us with your implementation along with the file you're attempting to upload?

    0

Post is closed for comments.