Open AmibeWebsites opened 8 years ago
Make it three suggestions...
The more I think about this one, why don't you simply use the existing Media Library that Wordpress provided rather than duplicating functionality?
@dudewithamood The main reason, I guess, is because G5 is a platform independent framework that works on Joomla, Wordpress and soon on Grav. Therefore, most of the functionality needs to come from G5 instead of the platform.
There are several reasons as of why we created our own Media picker.
Gantry uses streams and there is no platform (aside for Grav for obvious reasons) that is capable of handling streams in the way we do.
Our Media picker handles cascading folders and file overrides, meaning that the flat folders and files list you see in the picker, is a combination of different paths merged together, as a Stream does. It is more complex than it looks like.
Every time you upload a file that already exist, the file gets copied under your custom/
folder with the same platform structure you have chosen, but you always only see one file in the picker. When you delete it, you are barely deleting your override and the original file is kept intact.
There is no such platform that allows us any of these advanced stuff. Although it might look like the media picker is simpler than others, it does its job very well, it's quick and very advanced. Our goal with Gantry and every aspect of it, was to keep things simple.
When I evaluated the Media picker and I needed to start, I decided the only things I wanted to keep it simple were:
Everything else was unnecessary or superfluous.
Note: Sorting and filtering has been in my list of things to do for a while (as a very low priority), so stay tuned.
From mr910: Would be awesome to have the ability to sort items in the 'File Picker' by filename, size, and date.
From me: Would be cool to add a full URL as well.
This was already referenced by the way 😄 , can see above your comment.
@w00fz Thank you for this detailed explanation - it's very helpful for those of us not directly involved. I greatly appreciate where you and the rest of the team are going with this.
Aside from search and ordering to facilitate quick selection, two additional challenges I face on sites are:
Two suggestion to enhance the user experience of selecting an image (for example, when adding an image to a menu item in the Menu Editor):