Simple image viewer — hover icon or double click opens a minimal zoom+rotate viewer.
Install Link: GreasyFork - Picviewer Simple
Picviewer Simple is a lightweight userscript designed to enhance your image viewing experience. It adds a small magnifier icon over every <img> element when you hover your mouse over it. Clicking the icon opens a streamlined viewer where you can zoom, rotate, and reset the image. The controls (zoom in/out, rotate left/right, reset, close) are always pinned to the top for easy access.
picviewer-simple.user.js.<img> element (no site-specific hacks needed).Persistent UI: Controls stay on top (z-index managed), so they remain clickable even when the image is zoomed or rotated.
Keyboard Shortcuts:
Esc: Close viewer
+ / -: Zoom in/out
[ / ]: Rotate left/right
0: Reset view
You can easily tweak the script's appearance by modifying these values at the top of the code:
ICON_SIZE: Change the size of the magnifier icon (px).RIGHT_OFFSET: Adjust the icon's distance from the right edge (px).ICON_RAISE_PX: Adjust the icon's height from the bottom corner (px).