-
-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crop Area with focus point #1241
Comments
Hey @Suranex!
|
i don't want to use two gravities, but currently i have to set it to the crop option to use the 4th and 5th crop argument. And exactly here is my problem. i want to use the focus point argument as gravity, which i can only pass to the gravity option. |
Why do you need the 4th and 5th crop arguments if you're going to use the |
Background to my question: I am trying to replace TYPO3's internal image rendering. I want to do this because TYPO3 creates the images on the current page request and not sluggishly when the image is needed. In TYPO3 you can set a crop area and a focus area. I have replaced the focus area by calculating the centre point for it und use the focus point. But for cropping the crop area is needed, for which I need the 4th and 5th parameter of /crop. I hope it is now understandable what my use case is 🙈 |
Ok, I guess now I get it. I'm absolutely not familiar with TYPO3, but from what I've read on the internet, you're doing almost everything right. Correct me if I'm wrong:
|
Hello,
I am trying to combine the crop area of #551 (comment) with a focus point. The crop itself can handle gravity values like ce and nowe, but for the focus point, more parameters are required. When I combine crop and gravity, the gravity seems to be ignored and only used by the crop parameter.
.../crop:399.36:399.0053285968:ce:880.64:93.35701598579/gravity:fp:0.0007390625:0.00030836787053483/...
No matter what values gravity:fp takes, the gravity of the crop is used.
I hope you can help me with this problem.
Greetings
The text was updated successfully, but these errors were encountered: