viewerjs
viewerjs copied to clipboard
Scroll to scroll the images, Ctrl + Scroll for zoom
Describe the solution you'd like
It would be handy if you can scroll through the images. So you can use Ctrl + Scroll for zooming as known in the browser.
Describe alternatives you've considered
Realize this possibility through the methods.
Why?
@fengyuanchen The reason lies in the mouse users. For them it is easier to scroll to get through the gallery. The left Ctrl key can then be operated with the left hand or right for left-handers. The navigation with the arrow keys is rather unpleasant for right-handers because they are very far to the right in the keyboard. Mostly you use the right hand for this, which of course has to be taken from the mouse. Scrolling is also advantageous when you have to scroll quickly through many pictures.
Do you know of other image gallery libraries that already implement these behaviors? If so, please give me some examples.
I don't know alot of image viewer libraries in javascript. But i know this feature from windows image viewer: https://www.howtogeek.com/755899/how-to-scroll-through-photos-lightning-fast-on-windows-10/ @fengyuanchen