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

  • JasonRReid
    Asked on February 2, 2016 at 7: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).

  • Kiran Support Team Lead
    Replied on February 2, 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;

    }

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

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

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

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