-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Added missing GetCropUrl overload for MediaWithCrops #11201
Added missing GetCropUrl overload for MediaWithCrops #11201
Conversation
…onfiguration options The missing overload would mean that if anyone tried to use the extra options with MediaWithCrops, they would be using the IPublishedContent extension method instead. This would cause several issues, like not loading the local crops and returning null for a lot of scenarios that should work.
Hi there @lauraneto, thank you for this contribution! 👍 While we wait for one of the Core Collaborators team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Hi @lauraneto , Thanks a lot for this PR! It's a nice catch 👍 Also, before I can merge it, I would need you to target the Thanks again and sorry for this little delay. |
Thanks for the update @lauraneto! This PR is ready to be merged now 😁👍 I took the liberty of making one small additional change, in order to use the extension method on the And I'll have a look at your other PR right after! |
The missing overload would mean that if anyone tried to use the extra options with MediaWithCrops, they would be using the IPublishedContent extension method instead.
This would cause several issues, like not loading the local crops and returning null for a lot of scenarios that should work.
Prerequisites
Description
Without this change the following line of code wouldn't work properly:
Kept the same structure as the already existing overloads for consistency sake.