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

It is difficult to find how to change the size of a featured image inside a query #37799

Closed
carolinan opened this issue Jan 8, 2022 · 1 comment · Fixed by #37945
Closed
Assignees
Labels
[Block] Post Featured Image Affects the Post Featured Image Block [Status] In Progress Tracking issues with work in progress [Type] Feedback Issues that relate purely to feedback on a feature that isn't necessarily actionable

Comments

@carolinan
Copy link
Contributor

carolinan commented Jan 8, 2022

Description

This was first reported by stevekamn on WordPress slack.

When the post featured image block is placed inside a query and post template, the featured image is represented either
by a placeholder or the actual featured image.
These images have two different sets of controls, which makes it difficult to find how to change the size and scale.

If you happen to select the placeholder, you can only change the padding and margin.
To change the size and scale, you have to find a post or page in the post list that has an actual featured image, and select that.
So if your current list of posts does not include a featured image, this is a very confusing experience, and the feature is only discoverable by chance.

Step-by-step reproduction instructions

  1. Add a query block in the site editor.
  2. Add a post featured image block to the post template inside the query.
  3. With the feature image placeholder selected, open the block settings sidebar and open the dimensions panel.
    Confirm that only the margin and padding controls are present.

Screenshots, screen recording, code snippet

In the site editor, inside a query and post template block:
inside query, the block only has padding and margin controls

Environment info

WordPress 5.9-RC1-52464

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

@carolinan carolinan added [Type] Feedback Issues that relate purely to feedback on a feature that isn't necessarily actionable [Block] Post Featured Image Affects the Post Featured Image Block labels Jan 8, 2022
@annezazu
Copy link
Contributor

+1 to this issue. I've run into similar moments of confusion. Somewhat related work around the placeholder: #36517 #36136 and somewhat related issue around adding more controls: #33789

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Featured Image Affects the Post Featured Image Block [Status] In Progress Tracking issues with work in progress [Type] Feedback Issues that relate purely to feedback on a feature that isn't necessarily actionable
Projects
None yet
3 participants