Gallery block: Add images size selector#18581
Conversation
9f88bfb to
9042e51
Compare
jorgefilipecosta
left a comment
There was a problem hiding this comment.
Hi @mmtr, thank you for this PR. It worked great on my tests. I just left a comment related to the number of network requests we could be making.
9042e51 to
231da67
Compare
|
Applied these changes on my localhost, seems to pass my manual tests. |
jorgefilipecosta
left a comment
There was a problem hiding this comment.
Worked well on my tests 👍
231da67 to
3c6f371
Compare
|
@mmtr I installed Gutenberg 7.2 but I can't see image size selector? |
It only shows up when the gallery block contains an image coming from the media library. If the gallery block is empty or contains only images that are just URLs, the selector won't cause any effect and thus is hidden. Can you verify you are not using the gallery block under one of these scenarios? |
It's interesting I tried it another computer and it's show it now. Cookies possible :) Thanks Edit: It setup as a thumbnail but at the single-post page, it still serving image full size instead of thumbnail. Link |
|
Let's move the discussion to #19556 |
Description
Add an image size selector to the gallery block that allows users to choose the size of the images. It defaults to the large size.
Fixes #1450
How has this been tested?
Manually, following the steps below:
Screenshots
Types of changes
Enhancement.
Checklist: