nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.53k stars 420 forks source link

Optimize image display on mobile devices #1805

Open IceCream-jy opened 1 month ago

IceCream-jy commented 1 month ago

I use the gallery feature to display multiple high-resolution images,the disableImageZoom and disableImageOptimization options are both set to their default value of false, but I noticed some issues on mobile devices, such as smartphones. When I tap on an image to enlarge it, the image remains low-resolution, and it does not support further zooming in or moving the image around.

Could you address the issue of low resolution when images are zoomed in on mobile devices? It would also be great if the image is allowed for further zooming in and out, as well as drag around.