Skip to content

Conversation

@markjaniczak
Copy link

There is a point just beneath the xs bootstrap 4 breakpoint (<576px) where the product thumbnail images are pixelated due to being too large. The srcset tag accommodates for this point and also retina devices where the ppi is much higher (2x).

Here is a comparison on an iPhone X.

Before:

chrome_ly4cdjC7KU

After:

chrome_bWay8FV83E

The breakpoints were chosen according to the default thumbnail dimensions of 200 and 500. If a browser does not support the srcset tags, the src tag is used instead which points to the lower res image.

There is a point just beneath the xs bootstrap 4 breakpoint (<576px) where the product thumbnail images are pixelated due to being too large. The srcset tag accomodates for this point and also retina devices where the ppi is much higher (2x).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants