Copied to clipboard

Flag this post as spam?

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


  • Tobbe 81 posts 387 karma points c-trib
    Feb 03, 2015 @ 15:41
    Tobbe
    0

    Image cropper doest crop

    Im trying to use umbracos ImageCropper but it doesnt crop the image.. Ive created a crop thats 530x530px and uploaded a picture that's 1100x600px with the media picker. Then Im trying to get the cropped image like this: @Umbraco.Media(id).GetCropUrl("contentpage")

    This returns a url that looks like this: http://localhost:62438/media/1011/bild.jpg?crop=0.018722594801858779,0,0.56001902215631871,0.22839506172839497&cropmode=percentage&width=530&height=530&rnd=130674512610000000

    This image has the dimentions 530x289px. So the height is correct, but the width is wrong, and the image is not cropped...

    What am I doing wrong?

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Feb 03, 2015 @ 15:47
    Jeavon Leopold
    1

    Hi Tobbe,

    Do you have ImageResizer installed (you shouldn't)?

    Jeavon

  • Tobbe 81 posts 387 karma points c-trib
    Feb 03, 2015 @ 15:51
    Tobbe
    100

    That was the case!

    Thaaaaaanks alot!

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Feb 03, 2015 @ 16:02
    Jeavon Leopold
    0

    Fantastic!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies