-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Dynamic galleries and media attached to a post #76955
Copy link
Copy link
Open
Labels
[Block] GalleryAffects the Gallery Block - used to display groups of imagesAffects the Gallery Block - used to display groups of images[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Metadata
Metadata
Assignees
Labels
[Block] GalleryAffects the Gallery Block - used to display groups of imagesAffects the Gallery Block - used to display groups of images[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is an overview issue for a series of improvements we could do to the media publishing flow, particularly to the "media attached to a post type" path.
Media Inserter
The media tab on the main block inserter is quite underutilized. I propose we display the images attached to the current post directly in the sidebar surface, with a similar thumbnail display to the one we use on the “external media items” for the pre-publishing flow. There’s a few mechanics that this grid view could support — insert a gallery with all the images; add / detach images from the post; drag a single item into the canvas to insert as a block or set as a cover background. cc @ellatrix since we discussed some of this for the external media work.
Gallery Block
It’s due time to support a dynamic toggle in the gallery block so that we mimic the behavior of a
[gallery]shortcode with no image ids set and dynamic rendering. This should support sorting features like reverse order, random order. Once toggled, it should be super clear to the user how it works.Shortcode
I believe we already convert a gallery shortcode properly on a "convert to blocks" pass, with some exceptions for plugins extending the older gallery system. However, we can handle a gallery shortcode from classic content flow better. For example, in the shortcode block we could offer a “convert to gallery block” shortcut.