Reaction: Users should be able to "zoom" into a high-res image on the PDP

Created on 13 Oct 2017  路  3Comments  路  Source: reactioncommerce/reaction

When browsing the PDP, users should be able to click, over or pinch to zoom on the currently active product image.

enhancement help wanted

All 3 comments

Can we get a little more detail on how exactly this should work? Are we just using the original unresized images and just showing it in a modal on the desktop? Am I being dense?

Ideally we should lazy load the high-res image when it's requested. I don't think we should be loading all high-res images when the PDP loads, especially on mobile devices.

I think a simple react component such as this https://github.com/ethanselzer/react-image-magnify could potentially work, but I have not evaluated this particular component for size or efficiency.

Demo: https://ethanselzer.github.io/react-image-magnify/#/

Did a PR for this at #3343

Was this page helpful?
0 / 5 - 0 ratings