Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

ImageResizer with EPiFocalPoint - images without focal point not cropping correctly

$
0
0

I am using EPiServer version 11.14.1.0, with the ImageResizing module installed alongside EPiFocalPoint (both the latest versions). We're experiencing an issue where when we attempt to crop images with a querystring (e.g. ?mode=crop&width=1280&height=720), that the crop result differs when the image has a focal point set and when it doesn't have a focal point set. This is the case for all images we upload.

For example, we have an image with an original resolution of 1136 x 773. After applying the above querystring to this image without adding a focal point to it using the EPiFocalPoint plug-in, the resulting cropped image has a resolution of 1136 x 720 which is correct (seeing as the image isn't stretched to 1280 pixels in width). However, after saving a focal point to the image in the CMS, the resulting cropped image has a resolution of 1136 x 639.

Has anyone else experienced this issue before? And if so, are there any known solutions? I want the two results to be consistent with one another. The result of this not being the case is that e.g. sliders on several pages are displaying images in different heights when some have focal points set and others do not. Obviously, we would prefer the images to always have the height we set in the querystring, without having to resort to forcing this in CSS.


Viewing all articles
Browse latest Browse all 8020

Trending Articles