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

Edit image settings when in a gallery block #12351

Closed
STHLMWebDesign opened this issue Nov 27, 2018 · 5 comments
Closed

Edit image settings when in a gallery block #12351

STHLMWebDesign opened this issue Nov 27, 2018 · 5 comments
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Enhancement A suggestion for improvement.

Comments

@STHLMWebDesign
Copy link

Right now if you create a gallery block there is no way to edit the image settings even when you highlight and select one image inside the gallery block.

This is incredibly annoying if you want to switch image size. You basically are forced to covert the gallery block into blocks of single images, make your changes to the image settings, and then recombine them in a gallery block. That or flip into the code view.

@swissspidy swissspidy added the [Block] Gallery Affects the Gallery Block - used to display groups of images label Nov 27, 2018
@swissspidy
Copy link
Member

So you want to change the image size for a single image inside the gallery?

I don't think that is or should be possible. Galleries are meant to show all images in the same size.

@designsimply
Copy link
Member

I think they mean they'd like the option to change the image size for all gallery images at once, similar to how the gallery works in the classic editor (I think the note about selecting one image was just to show they thought they would be able to access the image size settings that way but weren't able to).

Adding some screenshots for comparison:

When creating or editing a gallery in the classic editor, I see "Gallery Settings" options for: Link To, Columns, Random Order, Size:

screen shot 2018-11-27 at 12 26 53 pm

Seen at https://tan-otter.jurassic.ninja/wp-admin/post-new.php using WordPress 4.9.8 (no Gutenberg) using Firefox 63.0.3 on macOS 10.13.6.

In Gutenberg, I don't see any options for "Gallery Settings" such as image size:

screen shot 2018-11-27 at 12 27 59 pm

Seen at http://localhost:8888/wp-admin/post.php?post=43&action=edit running WordPress 4.9.8 and Gutenberg `ef596ca85` (>4.5.1) using Firefox 63.0.3 on macOS 10.13.6.

@designsimply designsimply added the [Type] Enhancement A suggestion for improvement. label Nov 27, 2018
@designsimply
Copy link
Member

Related: #7504 discusses similar image details settings for the image block.

@STHLMWebDesign
Copy link
Author

@swissspidy I agree that galleries should want the same image size, but what happens if you make a gallery with two columns and 3 images? You end up with 2 images talking up 50% of the content width and one image bellow taking up 100% the content width. That is a scenario where one might want to use a smaller image size on the first two images and a larger one on the 3rd.

Another similar example is that when images are in a Gallery block you can not click an image and add the alt text. It's another scenario where you either have to flip into code view or unbundle the gallery block make your changes and then bundle it again.

@noisysocks
Copy link
Member

Closing this as a duplicate of #11436 as the desired fix is to achieve some degree of parity between the Image and Gallery settings.

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 [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants