Repository navigation
Closed
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Block] ImageAffects the Image BlockAffects the Image Block[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] Inspector ControlsThe interface showing block settings and the controls available for each blockThe interface showing block settings and the controls available for each block[Feature] UI ComponentsImpacts or related to the UI component systemImpacts or related to the UI component system[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Part of #28356 and related to #27331.
The inspector controls for the Image block have built up over the years, and could use a little love and unification:

- The dimension controls could adopt the unified dimensions panel to add consistency across blocks
- Alt text could be simplified, and arguably deserves its own panel
- Dimension controls use an older version of the segmented control, and could benefit from the ToolsPanel reset behavior
- Image size could benefit from being a non-default ToolsPanel control, due to its complexity (Image size settings can be confusing #38050) and for consistency (Post Featured Image: Add size selector #38044)
Here's a mockup taking a stab at some improvements:
- The unified Dimensions panel brings consistency and the ability to hide the Size control by default.
- Note the dimensions shown inside the size selector and the added help text (suggested here).
- For some settings or base properties of the block, such as Styles, they could be integrated directly into the block card at the top.
Reacted by George Mamadashvili, Jabe, Andrew Serong, Tammie Lister, Javier Arce, Héctor and Jamie Sanchez
Metadata
Metadata
Assignees
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Block] ImageAffects the Image BlockAffects the Image Block[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] Inspector ControlsThe interface showing block settings and the controls available for each blockThe interface showing block settings and the controls available for each block[Feature] UI ComponentsImpacts or related to the UI component systemImpacts or related to the UI component system[Type] EnhancementA suggestion for improvement.A suggestion for improvement.

Activity
Mamaduka commentedon Jan 19, 2022
I love the idea.
With the new Styles design, I think this would be a nice change. We already display variation transforms in the block card.
mtias commentedon Aug 2, 2023
@jasmussen is this still relevant?
jasmussen commentedon Aug 3, 2023
Parts of it are relevant, yes, but these are things that will also likely be naturally intuited when we get to updating the image block inspector. So I don't know that it needs an open issue. Closing for now, it'll be findable still!
jasmussen commentedon Aug 25, 2023
I'm actually going to reopen this one, it keeps coming up in discussions around the ToolsPanel.
richtabor commentedon Sep 14, 2023
For reference, here's what we have today:
richtabor commentedon Sep 14, 2023
What gets confusing is when the block is within a row or stack. Then there are two entries for width (also the same for site logo):
jasmussen commentedon Sep 15, 2023
The width issue feels related to the Row block, but excellent point, it seems like we could definitely unify a) the tab in which width lives, and b) make sure there's only ever one width control.
Perhaps the final question here is whether we can/should extract the Alternative text as a separate panel, or not. If we want to still do that, we can commandeer this issue to be about that.
jasmussen commentedon Mar 19, 2024
I'll close this for now. Let's see what organically emerges.