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

feat: product images sizes #1037

Merged
merged 2 commits into from
Aug 20, 2020
Merged

feat: product images sizes #1037

merged 2 commits into from
Aug 20, 2020

Conversation

mkucmus
Copy link
Collaborator

@mkucmus mkucmus commented Aug 20, 2020

Changes

  • adds a helper that extracts the smallest thumbnail's URL (size depends on the SW6 configuration)
  • replace getMainImageUrl with getProductThumbnailUrl in a product card main photo (not gallery).

Checklist

@vercel
Copy link

vercel bot commented Aug 20, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/shopware-pwa/shopware-pwa-docs/mkdtitbjo
✅ Preview: https://shopware-pwa-docs-git-feat-product-images-sizes.shopware-pwa.vercel.app

@github-actions
Copy link

💙 shopware-pwa-canary successfully deployed at https://8843d032535b73d3f0c40d872be55a6f6de181c6.shopware-pwa-canary.preview.storefrontcloud.io

@patzick patzick merged commit e58bcac into master Aug 20, 2020
@patzick patzick deleted the feat/product-images-sizes branch August 20, 2020 08:37
@patzick patzick added this to the v0.4.0 milestone Aug 20, 2020
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.

2 participants