Copied to clipboard

Flag this post as spam?

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


  • Japheth Kosgei 7 posts 37 karma points
    Jul 15, 2015 @ 12:22
    Japheth Kosgei
    0

    Image Cropper in LeBlender

    Hi guys,

    How can I add Image Cropper datatype as LeBlender property type? --custom-- datatype does not work for me. I cannot select it for some reason. Am using LeBlender 1.0.7. Thanks!

  • SlawekN 4 posts 24 karma points
    Jul 17, 2015 @ 13:35
    SlawekN
    0

    Hi Japheth,

    Currently it is not possible to use following data types in LeBlender property editor:

    • Umbraco.ListView,
    • Umbraco.Grid,
    • Umbraco.FolderBrowser,
    • Umbraco.UploadField,
    • Umbraco.ImageCropper.

    Source

    Hopefully they implement it :)

  • Nathan Rogan 5 posts 25 karma points
    May 12, 2016 @ 10:15
    Nathan Rogan
    0

    Add a image cropper data type to your image media type and then use the Media Picker within the Grid .

    Get the value as a string: var img = item.GetValue

    You can then use this to get the crop:

    @Umbraco.TypedMedia(@img).GetCropUrl("CropName")

    Note - got this workng in 7.3.1

Please Sign in or register to post replies

Write your reply to:

Draft