Widgets > Uploadcare: Can you allow the form user to enter ratio to uploadcare using Jotform?

  • Profile Image
    nlcanvas
    Asked on December 26, 2016 at 10:36 PM

    Hello 

    On my form the user enters the length and the heigh of their image. (Using two drop downs) 

    I want to make the uploadcare crop confirm to the ratio of these two values. (l and w)

    Ive seen this on uploadcare documentation:

    <input type="hidden" role="uploadcare-uploader" data-images-only

    data-crop="4:3" />

     

    Is there a way for me to pass the length and height my user entered into the ratio fields something

    like<input type="hidden" role="uploadcare-uploader" data-images-only

    data-crop="VarialbleLength:VariableHeight" />

    And if so where would I have to tell jotform of this plan.

     

    Or help on another way to do this? I could be completely wrong on how to do this. :)

  • Profile Image
    liyam
    Answered on December 27, 2016 at 01:27 AM

    Hello,

    There is no option to allow users to submit the height and length that a user enters for. I don't think it's possible as well since the cropping seems coming from the prepared settings on the widget and not from the time it is submitted.

    However, for clarification, I have escalated this matter to the development team in order to give you a proper response.

    Thanks.