Skip to content
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

List View: Display image thumbnails #46015

Closed
jameskoster opened this issue Nov 23, 2022 · 7 comments
Closed

List View: Display image thumbnails #46015

jameskoster opened this issue Nov 23, 2022 · 7 comments
Assignees
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Block] Image Affects the Image Block [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

When there are many images in a document we might help users distinguish between them in List View by including a thumbnail of the image itself:

Screenshot 2022-11-23 at 18 04 01

For Gallery blocks we can stack the thumbnails like:

Screenshot 2022-06-23 at 16 25 03

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. Needs Design Feedback Needs general design feedback. [Block] Image Affects the Image Block [Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] List View Menu item in the top toolbar to select blocks from a list of links. labels Nov 23, 2022
@richtabor
Copy link
Member

Interesting. Not 100% sure if it’d work, but have you tried using the image in lieu of the icon?

It may be funky though.

@jameskoster
Copy link
Contributor Author

I did try that, it could work, but I was a bit worried that it might negatively impact scan-ability. Also not entirely sure how it would work for galleries where it is nice to see the first x images.

One thing to figure out is how those gallery thumbnails behave when you expand/collapse. Since the thumbnails will be visible on the children when expanded, there's no need to display them on the parent as well.

@richtabor
Copy link
Member

Yea.. Perhaps this works for image blocks only?

@jameskoster
Copy link
Contributor Author

Yeah starting with images would probably make sense.

@jameskoster jameskoster added Needs Dev Ready for, and needs developer efforts and removed Needs Design Feedback Needs general design feedback. labels Mar 30, 2023
@andrewserong
Copy link
Contributor

andrewserong commented Aug 3, 2023

I'll be keen to have a go at this one if no-one beats me to it. Just adding a link that this feature was mentioned in the make/core post for the media library (under "Improve presentation of media in other editing contexts"): https://make.wordpress.org/core/2023/07/07/media-library/

@andrewserong andrewserong self-assigned this Aug 3, 2023
@mtias
Copy link
Member

mtias commented Aug 4, 2023

Would love to get this one in and see how it performs. For the gallery, the idea should be that the stack is only rendered if the gallery is collapsed—otherwise it's redundant with the image block children.

@andrewserong
Copy link
Contributor

Implemented in #53381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Block] Image Affects the Image Block [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Enhancement A suggestion for improvement.
Projects
Status: Needs dev
Status: Done
Development

No branches or pull requests

4 participants