-
Notifications
You must be signed in to change notification settings - Fork 789
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
Media Picker 3 documentation #3106
Conversation
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
…Editors/Media-Picker-3/index.md Co-authored-by: Mads Rasmussen <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: Mads Rasmussen <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: Mads Rasmussen <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: Mads Rasmussen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @nielslyngsoe !
I've made some suggestions here and there, and added some comments as well.
I think we need to make it a little clearer that there are now 2 different Media Pickers. Perhaps on the "old version" we link to the new, and somehow make it clearer that we recommend using the new one? What do you think?
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Media-Picker-3/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/index.md
Outdated
Show resolved
Hide resolved
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…acoDocs into v813/media-picker-3
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/Media-Picker-3/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/index.md Co-authored-by: sofietoft <[email protected]>
Thanks for applying the suggestions to the article @nielslyngsoe ! About the different snippets in the bottom of the article, about how to fetch the global and local crops... Would it make sense to move that up above the MVC samples? 🤔 |
Need to update so it says 8.14 not 8.13 |
@sofietoft this manner was inspired by the current Media Picker documentation, I think we need to ask a C# developer on whether it's necessary or useful. if not we should correct both. |
update version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've given this a second review. Added some suggestions.
Also, I still think it's a lot with all those different MVC samples... 🤔 I'll try cleaning them up, once this has been merged in.
Regarding the crops.. I think it would be great if there was some more explanation about the two different type, local and global. Right now, it's only mentioned in the samples at the very bottom, and not really explained.
Would it make sense to talk a bit about the local and global crops somewhere further up in the article? There's already a little section about "Image crops" in the article. Perhaps it could be added there?
Does the addition to this article relate at all to this: https://our.umbraco.com/documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Image-Cropper/ ? 🤔 Should that article also be updated, or?
Also, I think it would be worth linking to the new Media Picker 3 article from the original Media Picker article, with a short note about how we recommend using the new one!
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/index.md
Outdated
Show resolved
Hide resolved
Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/index.md
Show resolved
Hide resolved
…Editors/index.md Co-authored-by: sofietoft <[email protected]>
…Editors/index.md Co-authored-by: sofietoft <[email protected]>
@sofietoft good point about mentioning Media Picker 3 in Image Cropper. I also added the notice to the current Media Picker. We would need some C# person to make sense of the MVC samples, I don't know if there is an audience for all of it and whether it's understandable for C# developer. Its a general problem in many of our property editors documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great @nielslyngsoe !
Thanks for adding the suggestions.
I'll make sure we review all the property editor articles at some point, so we can clean up all of these many different samples, that we list for each of them.
I'll make sure this is merged Thursday morning, so it'll be ready for the 8.14 RC.
I looked at a few C# samples. And they make some sense, but could be improved in the future. |
@dampee thanks, would be nice to improve them... Currently, they require quite a high skill set to understand why and which one to go with, which is bad for newcomers. So if you or anyone else has ideas on how to communicate this so it becomes easier to learn Umbraco, would just be awesome :-) I´m not super skilled with C#, so it would be nice with someone show knows what is right to have a look at this. :-) |
Launching just an idea. I don't know if it fits in our agenda of the docs workshop upcoming friday (11am - 1pm). The idea is that we are working on the docs at that time. I'll join the meeting from 11am till 12 as I have another meeting at 12:00. Maybe we can work on it together for 20 minutes? |
Does this support using a different image per crop? Sometimes you need to use a different image if the original does not look good when cropped for some crops. |
Hi @nzdev If the crops have to be local, I would recommend having several image pickers? And If you are dealing with a scenario where you need to pick multiple images, it might be an idea to make a Block List of an Element Type that holds those Media Pickers. I hope that can inspire you to find a good solution for your case. Interesting thought and it really got my mind started on thinking about different UI solutions. How do you imagine it working. Like how would you set a different image for one or multiple crops? And how does another Content Editor spot that there is a different image for some crops? |
Hi @nielslyngsoe thanks for the reply. I would imagine you pick an image, then adjust the crops, see that for a certain local crop the image does not look good when cropped. Then on the local crop you can choose to select another image. Perhaps with a replace button that then let's you browse for another image. Then to revert have a reset button. Both the single and multiple images scenarios would be a slow workflow by the block list, storing the udi of a media per crop when overridden would be a great experience. I imagine the preview would need some sort of badge to show if any of the crops use a different image without trying to re crop. Overriding an image would be optional per crop. |
Documentation for the new Media Picker. Lets try to ensure that its not misunderstood what is Media Picker (v2, to become the old) and what is Media Picker 3 (the new one).
Notice for v8, both version will be available, In v9 I hope we can remove Media Picker v.2.