🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.
AI OnAI Off
Hi, We are on Episerver version 12.26.0 and using Baaijte.Optimizely.ImageSharp.Web v2.2.2 package for resizing images on the website. But for wider images, having dimensions eg. 1920 x 430px or 1053 x 440px, the images get cropped when resizing to 880 x550 px. The same code works fine for other rectagular or square images.
If I pass 1280 width when resizing these images and resize method crop, then they render as expected.
We have common code for all languages, how can we ensure that these images don't actually get cut? Can we pass width and height parameter relative to every image?