Closed kinglozzer closed 4 years ago
Thanks Loz!
Hmm I got a broken test. My tests seem to run after merging 😅 clearly not experienced with Travis. https://travis-ci.org/jonom/silverstripe-focuspoint/builds/624827347
@kinglozzer I might have to revert this. The focuspoint coordinates are supposed to be adjusted after cropping so that the focuspoint sits on the same part of the image as it did before. The use case for this is that you can use the focus point in the front-end (e.g. to position a background image on a container with a different aspect ratio). I played around for a bit to try and restore this functionality but haven't had any luck. I'm a bit rusty on image manipulations now!
Oh poo... I’ll have a think about how to fix that 😅
I've run into this issue, and I need a fix, so I'll pick up where you left off @kinglozzer :D
I did a brief review; I can see the issue in the code and have an idea for how more appropriately to resolve them. :)
Closes https://github.com/jonom/silverstripe-focuspoint/issues/64