Merged
Conversation
github-actions bot
pushed a commit
that referenced
this pull request
Sep 3, 2024
# [@cloudinary-util/url-loader-v5.10.0](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/url-loader-v5.9.1...@cloudinary-util/url-loader-v5.10.0) (2024-09-03) ### Features * Crop by X and Y Coordinates ([#192](#192)) ([091b73d](091b73d))
|
🎉 This PR is included in version @cloudinary-util/url-loader-v5.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
12 tasks
colbyfayock
added a commit
to cloudinary-community/next-cloudinary
that referenced
this pull request
Sep 4, 2024
# Description Updates URL Loader to bring in changes to support coordinates based cropping: cloudinary-community/cloudinary-util#192 It exposes the `x` and `y` property on the `crop` object: ``` crop={{ type: 'crop', width: 400, height: 400, x: 80, y: 350, gravity: 'north_east', source: true }} ``` Allowing someone to crop to a specific location. ## Issue Ticket Number Fixes #507 Fixes #481 <!-- Specify above which issue this fixes by referencing the issue number (`#<ISSUE_NUMBER>`) or issue URL. --> <!-- Example: Fixes https://github.com/cloudinary-community/next-cloudinary/issues/<ISSUE_NUMBER> --> ## Type of change <!-- Please select all options that are applicable. --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Fix or improve the documentation - [ ] This change requires a documentation update # Checklist <!-- These must all be followed and checked. --> - [ ] I have followed the contributing guidelines of this project as mentioned in [CONTRIBUTING.md](/CONTRIBUTING.md) - [ ] I have created an [issue](https://github.com/cloudinary-community/next-cloudinary/issues) ticket for this PR - [ ] I have checked to ensure there aren't other open [Pull Requests](https://github.com/cloudinary-community/next-cloudinary/pulls) for the same update/change? - [ ] I have performed a self-review of my own code - [ ] I have run tests locally to ensure they all pass - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes needed to the documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the x and y coordinate options to the crop plugin to allow for coordinates based crops.
Issue Ticket Number
cloudinary-community/next-cloudinary#481
Type of change
Checklist