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
I have following markup in a view:
<img alt="About image" class="img-fluid" src="@Model.ImageUrl?width=600&height=450&mode=crop"/>
But I'd like it to crop from a position instead, like, crop everything that is outside my dimension from the left side...
Is this possible with the built in ImageProcessor?
The Image I'm using here is just a normal media picker (because I don't want to complicate with cropper).
Yes you can :)
Can do something like:
Can read about it here:
Thanks! This worked perfectly.
I actually tried something similar based on that documentation but couldn't get it to work. But now it does, I must have messed up somehow!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted