Skip to main content
Nintex Community Menu Bar

Validating an image dimension

  • October 17, 2021
  • 2 replies
  • 9 views
  • Translate

HI

 

Can i validate in k2 rule an image that was uploaded to a form , type of jpeg , by asking about the image's dimension (i need to accept only image that itwis 80x80).

 

thank you very much

Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+10
  • Nintex Employee
  • 94 replies
  • October 18, 2021

Hi Sarita,

 

I'm not sure if there is an existing out-of-the box feature for this scenario. Perhaps, you can inject a javascript via data label to get the correct image width/height. After that, you can apply validation rule or show a message to notify the users.

https://www.tutorialrepublic.com/faq/how-to-get-original-image-size-in-javascript.php

 

Translate

  • Author
  • 1 reply
  • October 19, 2021

thank you

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings