Image Viewer

inject this script into any page, and right-click on the image you want to view full-size

Author
Braden Best
Daily installs
0
Total installs
2,283
Ratings
7 0 0
Version
1.6.1
Created
2014-05-03
Updated
2020-03-14
License
N/A
Applies to
All sites

Web Image Viewer by Braden Best

This userscript is hosted at https://greasyfork.org/scripts/631-image-viewer

Which is synced with the gist over at github.

This means that it'll always be at the bleeding edge.

Usage

To use this script, inject it into any page, and RIGHT-CLICK on the image you want to view full-size

This can be accomplished by

Controls / Features

Drag 'n Drop -- mouse

while the image is "open", you can drag it around with the mouse to pan instead of scrolling

In Firefox, it's a little different. You have to click the image to toggle the dragging functionality on and off

Image controls -- mouse

There is a close button, and a full URL link at the top of the page

Clear all images -- Esc

You can press Esc to close the image without the need for clicking the close button

Refresh Queue -- Ctrl

You can press Ctrl to re-initialize the script, for when dynamically generated images don't respond to right-clicking

Resizing images -- Mouse and Arrow Keys

If you left click an image spawned by the script, and press the arrow keys, you can resize the image. Left/right for width, and UP/Down for height

Special Thanks

Special thanks to Cyberdevil for providing suggestions

  • Escape key
  • Provide Direct URL to image
  • Image should be draggable
  • Don't let it interfere with default click events
  • Various Bug reports