dimsemenov / PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent
http://photoswipe.com
MIT License
24.25k stars 3.31k forks source link

v5-beta: Scrollwheel to zoom on PC version? #1797

Open BilouMaster opened 3 years ago

BilouMaster commented 3 years ago

Hi, I love the mobile zoom and the responsive srcset so much that I give my users top quality scans/photography of my work. I'd like to give an equivalent experience on PC with zoom but the zoom button just toggle between two factors, not including the 100% zoom. It would be great to zoom with the scrollwheel too, or maybe by splitting the zoom button in two (zoom and unzoom, progressive), or maybe make the zoom button have three states when it's a big image (zoom, full zoom, unzoom).

I think the last idea would be the least difficult to implement, what do you think?

Best regards. Joke.

acwolff commented 3 years ago

I think the scrollwheel is the most user-friendly solution, some applications do zooming with the '+' and '- ' keys, so that could also be a possibility.

Rehaan13 commented 1 year ago

WheelToZoom now exists. I guess this issue/request can be closed?

https://photoswipe.com/options/#wheeltozoom