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

  • Profile Image
    JasonRReid
    Asked 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).

  • Profile Image
    Kiran
    Answered 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.