Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Conversation

@zekefarwell
Copy link

This PR modifies the image url used in the product grid to be a generated file resized to the dimensions of the config settings (enhancedgrid/images/width and enhancedgrid/images/height). This helps thumbnails load much more quickly if the originals are large. It also constrains thumbnails to a square helping to maintain the grid layout when non-square images get uploaded as shown in the screenshots below.

Before:
screen shot 2019-02-15 at 5 13 03 pm

After:
screen shot 2019-02-15 at 5 12 52 pm

rjocoleman added a commit to icecubenz-open-mage/enhancedgrid that referenced this pull request Jan 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant