On the first zoom, the lightbox should scale the image to the intrinsic image dimensions. A 2000px wide image will be scaled down to a % of the screen width and then scaled in resulting in blurry images. This is particularly bad on mobile where the images will only render as < 400px wide. https://photoswipe.com/ has a good implementation of this.
On the first zoom, the lightbox should scale the image to the intrinsic image dimensions. A 2000px wide image will be scaled down to a % of the screen width and then scaled in resulting in blurry images. This is particularly bad on mobile where the images will only render as < 400px wide. https://photoswipe.com/ has a good implementation of this.