close
Skip to content

Featured image block has no size selector in Site Editor #45842

@Humanify-nl

Description

@Humanify-nl

Description

Recently I was happy to find that the featured image can finally be supplied with a preset image size.

However, this is only possible in the page-editor views, and not in the site / template editor. This defeats the whole purpose of setting featured image sizes for templates.

This is a major gripe as a featured image is probably the most-used block for singles, and having to resort to classic templates or custom blocks to just set image size (an age old WP standard feature) is really not the way we want to go, but reality for 2 years now.

The way it works now is you have to set all the image sizes for each single template by hand in the actual post. How is this a good idea for sites with 100 singles?

I can't just let clients have their way with images without setting a size. It creates uncontrollable design problems.

Also, when site editor and page editor have such discrepancies in how they deal with the same blocks, we create a bad UX where expectancy of how things work is constantly defied by the editor 'doing it differently, or restricting certain options for no apparent reason'.

Step-by-step reproduction instructions

  1. Add a new single template.
  2. Add a featured image block.
  3. See the block inspector and only find these settings (screenshot).

image

  1. Compare this with page editor:

image

  1. Another weird quirk is that the image size selector only appears when an image is added.

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 6.1.1
  • Default theme.
  • No gutenberg.

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

    [Block] Post Featured ImageAffects the Post Featured Image Block[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions