Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Store Customization > Ensure Images have always the same format independent of the AI selection #11081

Closed
Tracked by #11080
nefeline opened this issue Oct 2, 2023 · 1 comment
Assignees
Labels
focus: patterns WooCommerce patterns priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically.

Comments

@nefeline
Copy link
Contributor

nefeline commented Oct 2, 2023

When patterns were initially developed, we had an exclusively defined set of images to work with. Now that AI manages these images, it has been verified that they do not always match the expected height/width.

Consequently, we need to be more rigid to ensure users always get the same flawless design independent of the image assigned to the pattern. We were already accounting for this dynamic change during the development phase by setting the image format within the patterns dictionary (see #10609 ), but we will need to be even more conservative to ensure consistency across the board.

The easiest way to achieve this is to set the aspect ratio to an image block before the block has an image assigned.

Goal

  • Update all patterns to ensure the image blocks are always displayed with the correct aspect ratio, independent of the images assigned to them.
@nefeline nefeline self-assigned this Oct 2, 2023
@nefeline nefeline added the focus: patterns WooCommerce patterns label Oct 2, 2023
@nefeline nefeline added the priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. label Oct 2, 2023
@nefeline
Copy link
Contributor Author

I'm going ahead and marking this issue as complete: the aspect ratio was already updated on multiple assorted PRs, including: #11161 and #11145

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: patterns WooCommerce patterns priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically.
Projects
None yet
Development

No branches or pull requests

1 participant