Copied to clipboard

Flag this post as spam?

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


  • Daljit Kaur 16 posts 87 karma points
    Feb 02, 2021 @ 06:46
    Daljit Kaur
    0

    Image Cropper

    Hi,

    I am using umbraco v8.11.

    In order to get value of image cropper in a partial view, I am using :

    var image = item.Value<ImageCropperValue>("NewsImage");
    
    var url = image.src + image.GetCropUrl("Thumbnail");
    

    But i see the obsolete warning.

    If i use anything else, instead of this, the image is null.

    Is there any good, fresh syntax to fetch imagecropper value ?

  • 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