What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Is there a CSS to alwaysmake the Draw On Image pics loaded fit to the window regardless camera resolution?

    Asked by JasonRReid on February 02, 2016 at 07:29 AM

    Survey pictures taken on various smart devices with various settings produce pictures of various sizes. I need to have every picture taken fit a certain parameter when added to the form to draw on them for submission. Is there a code for that? I need large pictures scaled to fit, say, 400 x 640 (hxw).

    camera draw on image a survey settings picture devices
  • Profile Image
    JotForm Support

    Answered by Kiran on February 02, 2016 at 11:38 AM

    I understand that you want to resize the pictures added to Draw on Image widget to fit.

    Could you try injecting the following CSS code to the widget as shown below :

    .drawing-board-canvas-wrapper{ 

    background-size: 640px 400px !important;

    }

    By injecting the CSS code to the widget, the image added should be resized to fit in the widget as per the size mentioned.

     

    Hope this information helps! Please get back to us if you need any further assistance. We will be happy to help.