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

Product Gallery Thumbnails: Fix thumbnails cropping #11699

Closed
Tracked by #42335
danieldudzic opened this issue Nov 8, 2023 · 0 comments · Fixed by #11718
Closed
Tracked by #42335

Product Gallery Thumbnails: Fix thumbnails cropping #11699

danieldudzic opened this issue Nov 8, 2023 · 0 comments · Fixed by #11718
Assignees
Labels
type: bug The issue/PR concerns a confirmed bug.

Comments

@danieldudzic
Copy link
Contributor

Describe the bug

When #11665 is merged, the thumbnails will no longer be always cropped.

The thumbnails should also follow the Crop images to fit setting value.

To reproduce

Steps to reproduce the behavior:

  1. With a block theme, open Appearance > Editor.
  2. Open Templates > Single Product.
  3. Select Convert to Blocks if you are using the Classic Templates.
  4. Add the Product Gallery block.
  5. Ensure the Thumbnails are enabled.
  6. Change the Crop images to fit value, notice the thumbnails are never cropped.

Expected behavior

When Crop images to fit is enabled, the thumbnails should be cropped to square.

When Crop images to fit is disabled the thumbnails should not be cropped to square.

Screenshots

Moto_Guzzi_v7_–_newproductgallery
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant