kingdido999 / zooming

🔍 Image zoom that makes sense.
https://kingdido999.github.io/zooming
MIT License
1.61k stars 121 forks source link

High resolution image blurred on iOS (iPad Pro) #337

Open larsbo opened 2 weeks ago

larsbo commented 2 weeks ago

Describe the bug The high resolution image is loaded on a tablet but it is rendered blurry by the browser.

To Reproduce Steps to reproduce the behavior:

  1. Open the demo page on an iPad (I tested with an iPad Pro 3. edition with 2732 x 2048 pixel and 264 ppi).
  2. Open any of the images.
  3. The high resolution image looks blurry.

Expected behavior The high resolution image should be displayed sharp.

Desktop (please complete the following information): Not relevant.

Smartphone (please complete the following information):

Additional context I compared the rendered image between MacBook Pro and iPad Pro and the problem is only on the mobile device. Here are the desktop specs where this rendering is working fine: 3456 x 2234 pixel with 254 ppi. So it must be a mobile browser issue I guess.