Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to crop a image with a different anchor crop position but the the image url renders the standard center crop anchor?
croppedImage.GetCropUrl(width: 615, height: 405, imageCropAnchor: ImageCropAnchor.Bottom);
The output looks like this:
/media/1504/croppedImage.jpg?anchor=center&mode=crop&width=615&height=405&rnd=131896870400000000
Best regards
So I was missing the .Url helper... now it works.
croppedImage.Url.GetCropUrl(width: 615, height: 405, imageCropAnchor: ImageCropAnchor.Bottom);
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
imageCropAnchor not overriding crop anchor position
Hi,
I'm trying to crop a image with a different anchor crop position but the the image url renders the standard center crop anchor?
The output looks like this:
/media/1504/croppedImage.jpg?anchor=center&mode=crop&width=615&height=405&rnd=131896870400000000
Best regards
So I was missing the .Url helper... now it works.
is working on a reply...