Skip to content

Image dimensions & media settings discrepancy #36070

@Humanify-nl

Description

@Humanify-nl

Description

When adding media sizes in the media settings page (i.e. change size large from 1024 to 1100px), these values are not adhered to in the block editor image block. The values seem to stick to their own defaults.

This creates quite a confusing situation for clients. In my opinion, image sizes set in media settings (as this implies a global setting) should transfer the new defaults in any image block.

Step-by-step reproduction instructions

  1. Go to settings -> Media
  2. Change the large size to something else then 1024, (i.e. 1100) and save.
  3. Add an image block in the block editor
  4. Inspect the image-dimensions -> large size when selected.

Screenshots, screen recording, code snippet

No response

Environment info

  • Wordpress 5.8.1
  • Gutenberg 11.8.0

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions