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
Is it possible to have the image cropper scale an image down to fit the crop dimensions (which would then either pad vertically or horizontally), rather than what it currently does - fits the height of the crop and the rest be damned!
What I mean is this:
As you can see from the image, this is a particularly problematic issue for logos.
Is it at all possible to do this, even if I have to edit some Umbraco scripts?
I know it can be done with the ImageProcessor service.
I do something like this on one of my sites:
I would guess there is a way to add an override to the render to just change the crop mode. Not sure though.
You can apply query string parameters to your image URL that affect how it will be processed by ImageProcessor.
ImageProcessor.Web allows you to scale images both up and down with an excellent quality to size ratio. A maximum width and height can be set in the configuration to help protect you from DoS attacks.
Six different types of resizing methods are available:
BoxPad (Added v4.4.0)
Min (Added v4.4.0)
See the docs at:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted