How to scale and crop images, and manually define the focal point of images. In DNN or use of external image compression/resize/crop tools ?
What is the best practice for DNN
I believe DNN still has a basic DNNImageHandler built in, but it doesn't do much more than width, height, crop, etc. - the basics. Installing 2sxc gives you the full power of ImageFlow.
We've worked through some pretty advanced client needs using ImageFlow, 2sxc's awesome .Img() and .Picture() methods, and done even more detailed stuff by right additional code to resolve cropping to a focus point using xx%, yy%.
Its a lot to read, but the examples are compelling.
Extreme target/focus examples https://www.accu4.com/2sx...ages-Focus-Targeting
Mary Poppins and Princess Leia examples https://www.accu4.com/2sx...and-Picture-Examples
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.