Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 34 posts 154 karma points
    Jun 08, 2017 @ 08:41
    Tom
    0

    Image cropper focal point minus coordinates

    Hello. Recently I'm experiencing some issues regarding the built-in image cropper datatype. The cropper usually works fine when uploading an image and choosing a focal point but in some rare cases the focal points remains in the top left corner after loading a node. Usually after a second or two the focal point shifts to the chosen location. The problem occurs when a node is saved and published whilst the focal point sits in the upper left corner. This results in having minus coordinates in the crop coordinates like so

    ?crop=0.0000000000000001263187085796,0.00036783001925685472,-0.0000000000000002526374171591,0.0000000000000001229651145465&cropmode=percentage&width=818&height=210&rnd=130522310740000000
    

    When loading the page that hold the crop itobviously gives a YSOD because of the faulty crop URL.

    Specs: Umbraco v7.5.2 Imagecropper.dll v2.4.4.0 ImageProcessor.Web.dll v4.6.4.0

    Is someone having the same issues maybe and knows a fix?

  • Sören Deger 733 posts 2844 karma points c-trib
    Jun 08, 2017 @ 08:54
    Sören Deger
    1

    Hi Tom,

    there is an related issue in umbraco versions before 7.5.4: http://issues.umbraco.org/issue/U4-9501

    Maybe it's the same issue and you should update umbraco?

    Cheers, Sören

  • Tom 34 posts 154 karma points
    Jun 08, 2017 @ 09:06
    Tom
    0

    Hi Sören,

    Thanks for the reply. I'll try to see if updating resolves the issue!

Please Sign in or register to post replies

Write your reply to:

Draft