Annotate Picture widget: icons are missing when uploading small images

  • TheWordWas
    Asked on December 5, 2019 at 3:29 PM

    Hi,

    I am trying to use widget Annotate picture

    but run into an issue when the image upload dimensions are to small, I guess?

    A couple icons are "missing" and the "clear" button is cut off.

    Here's the before and after screenshots...

    1575577487Capture Screenshot 101575577515Capture2 Screenshot 21

    Any help would be awesome!

    Thanks!

  • Richie JotForm Support
    Replied on December 5, 2019 at 7:48 PM

    I have checked your form and it seems the annotate widget is working correctly.

    Annotate Picture widget: icons are missing when uploading small images Image 1 Screenshot 20

    May we know if the form is embedded to a web page?

    Can you please check your form again and let us know if the issue still remains?

  • TheWordWas
    Replied on December 6, 2019 at 3:41 AM

    You have to upload a small image, say 180x180.

    This is just accessed using the jotform url directly.

    You can see what happens in the second screenshot I provided above.

  • Richie JotForm Support
    Replied on December 6, 2019 at 5:54 AM

    I am able to replicate the issue at my end.

    It seems the widget is non-responsive.

    Annotate Picture widget: icons are missing when uploading small images Image 1 Screenshot 20

    You may add this custom CSS to make the widget's iframe to static width.

    #customFieldFrame_5{
    width:500px !important;
    }

    Guide:https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    I have also forwarded the issue to our back-end team for further investigation.

    You will be notified via this thread once updates are available.


  • TheWordWas
    Replied on December 7, 2019 at 7:53 PM

    Almost good, the clear button at the bottom is still cut off.

    1575766287Capture5 Screenshot 10

    And could we center the image area to give it a more "clean" look?


    Thanks for your help with this!

  • Girish JotForm Support
    Replied on December 7, 2019 at 8:23 PM

    As instructed I uploaded a small image and it was centered. 

    15757680590812 1 Screenshot 10

    Please re add the widget, upload the image and check if the image is not centered.

    Regarding the Clear button getting cut off, I can see that the issue is escalated and we'll notify you once the issue is fixed via this thread.

  • TheWordWas
    Replied on December 16, 2019 at 2:50 PM

    Any word on the clear button getting fixed?

    And I apologize for the confusion about centering the image. I meant the actual content box that holds the image... Can we center that to the "controls box" that is above it? (It aligns to the left when a smaller image is uploaded).


    Thanks!

  • Mike
    Replied on December 16, 2019 at 4:51 PM

    The bug report ticket is still open in our system. Unfortunately, there are no other updates as of this time.

    You may try adding the next CSS to the widget in order to center the image and reduce the top margin of the clear button:

    #canvas_container {
    margin: 0 auto;
    }
    .clearButton {
    margin-top: 8px;
    }

    Annotate Picture widget: icons are missing when uploading small images Image 1 Screenshot 20

  • hayk JotForm Developer
    Replied on January 19, 2021 at 5:22 AM

    We are sorry for the inconvenience caused to you. We have updated the widget and the problem has been resolved. Please check out the widget once again and let us know if the issue persists. Thank you for reporting the issue.

    Regards,

    Widgets Team