and-rej / rotate-and-zoom-image

Is there a picture with wrong orientation, or just displayed too small? Rotate or zoom images directly on any website, just one in the context menu.
https://addons.mozilla.org/firefox/addon/rotate-and-zoom-image/
Mozilla Public License 2.0
16 stars 2 forks source link

Add mouse support #17

Closed tomaszg7 closed 4 years ago

tomaszg7 commented 6 years ago

It would be quite nice if it could be controlled via mouse buttons/wheel - especially if the bindings would be configurable.

HulkSmashBurgers commented 6 years ago

Yes! I used to use Image Zoom for this, but it is not compatible with FF57.

Image Zoom had the great feature where you could hold the right mouse button on an image and use the scroll wheel to zoom it in and out.

MikkCZ commented 6 years ago

From https://addons.mozilla.org/firefox/addon/rotate-and-zoom-image/reviews/960060/

The features were: hold right click on the image then scrollbar up/down to adjust zoom level, including out and in. hold right click then left click to give you max visibility zoom, to resize the image to fit your page. hold right click then scrollbar click to reset to normal

strahlc commented 6 years ago

yes, please implement 😄

jedikalimero commented 5 years ago

From https://addons.mozilla.org/firefox/addon/rotate-and-zoom-image/reviews/960060/

The features were: hold right click on the image then scrollbar up/down to adjust zoom level, including out and in. hold right click then left click to give you max visibility zoom, to resize the image to fit your page. hold right click then scrollbar click to reset to normal

I suppose by "scrollbar" they meant "Mouse Wheel". I used to use Image Zoom and I greatly miss these shortcuts. It would be awesome if you could implement them to your add on.

I would also add something like, lets say left click + scrollbar up or down to rotate right or left respectively.

All shortcuts should be customizable to avoid conflict with other add ons that may be using the same combination for something.