You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's because Imager calculate the position the image like the CSS background position instead of the calculation jQuery Focuspoint does. See the explanation by jQuery Focuspoint here: https://github.com/jonom/jquery-focuspoint#pure-css-alternative
Let me know if you think it's still a bug. Thanks!
I mainly consider this a bug because you have a imager example in the readme and technically it is calculating differently. So even though the example is there and works in most cases just fine. Maybe we should see if there is a math conversion to fix the settings for the purposes of the example.
|
-|-
Focus Point back end | Imager front end
The preview doesn't appear to be matching the imager crop.
focusPctX = 68.5%
focusPctY = 59%
Heights are
187
or387
or587
The hidden input fields show
data-focus-x = 0.37
data-focus-y = -0.18
Example image from Pexels
If this is an imager bug feel free to close and let me know.
The text was updated successfully, but these errors were encountered: