helen / wp-media-grid-view

A grid view for the WordPress media library.
GNU General Public License v2.0
52 stars 8 forks source link

Explore General Layout and Scope #7

Open shaunandrews opened 10 years ago

shaunandrews commented 10 years ago

I'd love to see something from this project make it into WordPress 4.0. The current plugin is more of a prototype than a real plugin. It has some interesting explorations, including the size slider, and the very simple grid layout — but it diverges from the media modal, which is the more modern UI for media in WordPress.

I think our initial goal should be to adapt the existing Media Modal code/layout and "drop" it in the Media Library. The Media Modal is really geared towards browsing and inserting media into a post, so perhaps we can adapt as need for more managed-related tasks like editing, sorting, and deleting media. I worked up a few sketches around the idea of adapting the existing Media Modal layout:

media-grid_sidebar on side

This shows the Media Library with a few selected items. The sidebar from the modal is used to show a few details and bulk options for selected items.

media-grid_sidebar one item

Selecting just a single item can show some editable fields.

media-grid_search results

Searching for media means you likely know something about the item, so results show a two-column list view to help you scan for text-based information like the item name.

media-grid_media popover

You can filter by media "type," including something called Collections...

media-grid_collections

Collections are kind of like folders. Perhaps there's a few default ones (Images, Audio, etc) and you'll have the ability to create new Collections. I haven't sketched out the process of making a new Collection, but it could be cool to have a few ways of doing so:

  1. Simply selecting a bunch of images.
  2. Choose one or more tags/categories (this would require the ability to tag media)

media-grid_collection interior

Clicking on a Collection would show you a more standard looking grid view of the items contained within that Collection.

There's a lot left to thing about here, including:

ericandrewlewis commented 10 years ago

I really like the idea of collections, and have toyed around with implementations in the past for clients.

We should consider making Collections as a hierarchical taxonomy, which would give us a filesystem-like organization to media.