Image cropper in block custom view
# help-with-umbraco
s
Hi all, I'm trying to implement a custom view for an image block with a crop (Media Picker 3). This enables me to get the image url out, but struggling to get the crop url. Anyone know if its possible?
Copy code
{{mediaItem = (block.data.backgroundImage[0].mediaKey | mediaItemResolver); ""}}
    <div class="hero-background"
         ng-style="{
            'background-image': 'url('+mediaItem.mediaLink+')'
        }">
    </div>
3 Views