Copied to clipboard

Flag this post as spam?

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

  • Zoki 25 posts 91 karma points
    Sep 10, 2019 @ 18:45

    GetCropUrl, how it works now? (v8.1.4)

    I might be out of sync, but what happened with GetCropUrl?

     @if (employee.Image != null)
                        <img width="384" height="410" src="@[email protected]("employee")" alt="" />

    And that was after trying out everything else what used to work.



    returns image path, where


    Returns query string and all other info (?crop=0.12122113646245732,0.028987497234745328,0,0.34549282559443445&cropmode=percentage&width=384&height=410).

    So combining those two I got a cropped image.

    What usually worked:

    @Url.GetCropUrl(employee, "image", "employee")

    Returns empty.

    This is Image Cropper Data Type placed in Document Type, this image is not picked via Media Picker.

Please Sign in or register to post replies

Write your reply to: