mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
[GH-ISSUE #561] Gravity value is ignored and crop always uses West #204
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nonoesp on GitHub (Jan 31, 2025).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/561
Originally assigned to: @sadok-f on GitHub.
Hi, all!
Thanks so much for open-sourcing this project. ❤️
I would love to go without Imgix, and Flyimg seems the way to go.
Describe the bug
Regardless of the
gravityvalue provided,cropis always applied usingWest.To Reproduce
Set the following parameters.
cropto1widthto500heightto500gravitytoCenterhttps://demo.flyimg.io/upload/q_90,c_1,g_Center,w_500,h_500,rf_1/https://mudawn.com/assets/butterfly-3000.jpg
Expected behavior
Center crop of the image.
Flyimg output
Screenshots
Environment setup:
Cheers, =)
Nono
@sadok-f commented on GitHub (Jan 31, 2025):
Hi @nonoesp
many thanks for opening this issue!
I'll check it out and get back to you!
@sadok-f commented on GitHub (Jan 31, 2025):
@nonoesp it seems the gravity option was ignored because of the order of other arguments.
this should be fixed in the latest release https://github.com/flyimg/flyimg/releases/tag/1.7.2
Please give it a try.
Thank you!
@nonoesp commented on GitHub (Feb 3, 2025):
Thanks for fixing this so fast! I verified that it works as expected now. 🙃
@sadok-f commented on GitHub (Feb 3, 2025):
@nonoesp thank you for confirming!
Happy Flyimging 😀!
@sadok-f commented on GitHub (Apr 28, 2025):
Hi @nonoesp,
If your company/organisation is using Flyimg, it would be great to have you listed in our ADOPTERS.md file!
Feel free to add your entry — we'd love to highlight your support.
Thank you!