3

I'm using the Media & Text block within Gutenberg. You can adjust the size of the image by dragging the small blue circle:

WordPress Media & Text Block

Looking at the Media & Text settings on the right, it doesn't look possible to select the image size.

When using the stand alone image block, you can adjust the image size, like so:

Media Size

Is it possible to set an image size using a function for this block type? I need the design to be consistent on the front-end.

2
  • Can't you define a new image size and use that in the first dropdown?
    – kero
    Dec 12, 2019 at 13:24
  • The Image Size dropdown in the screengrab is for other media. It doesn't look like it's possible to set an image size within Media & Text.
    – Sam
    Dec 12, 2019 at 13:26

1 Answer 1

1

The image size dropdown was added in PR #24795 which was included in Gutenberg v9.1 and then included in WordPress 5.6.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.