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

Product Gallery block: Add cropped image to the Large Image block #10632

Closed
Tracked by #42335
thealexandrelara opened this issue Aug 16, 2023 · 0 comments · Fixed by #11482
Closed
Tracked by #42335

Product Gallery block: Add cropped image to the Large Image block #10632

thealexandrelara opened this issue Aug 16, 2023 · 0 comments · Fixed by #11482
Assignees
Labels
block: product gallery Issues related to the Product Gallery block. type: enhancement The issue is a request for an enhancement.

Comments

@thealexandrelara
Copy link
Contributor

thealexandrelara commented Aug 16, 2023

Description

The Large Image block is one of the inner blocks contained within the Product Gallery block. When the merchant enable the Crop Image setting to the Large Image block, the block should display the image cropped to fit a square space.

Outcomes

  • The Large Image block should display a cropped image that fits a square space.

Acceptance criteria

  • When the Crop Image to Fit is enabled, the Large Image block should display a cropped image that fits a square space.
  • When the Crop Image to Fit setting is disabled, the Large Image block should not crop the image and display it with its original aspect ratio while respecting the gallery dimensions.
@thealexandrelara thealexandrelara added type: enhancement The issue is a request for an enhancement. block: product gallery Issues related to the Product Gallery block. labels Aug 16, 2023
@roykho roykho self-assigned this Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: product gallery Issues related to the Product Gallery block. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants