Picviewer Simple

Simple image viewer — hover icon or double click opens a minimal zoom+rotate viewer.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
almahmud
Instalaciones diarias
0
Instalaciones totales
0
Calificaciones
0 0 0
Versión
1.1
Creado
23/12/2025
Actualizado
23/12/2025
Tamaño
10,9 KB
Licencia
GPL-2.0
Funciona en
Todos los sitios

Picviewer Simple

Install Link: GreasyFork - Picviewer Simple


Short Summary

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.


Installation

  1. Install a userscript manager like Tampermonkey or Greasemonkey for your browser.
  2. Go to the GreasyFork link and click "Install this script".
  3. Alternatively, create a new userscript in your manager and paste the code from picviewer-simple.user.js.
  4. Reload your tabs. Hover over any image to see the magnifier icon and click it to open the viewer.

Features

  • Hover-Triggered Icon: A magnifier icon appears on every <img> element (no site-specific hacks needed).
  • Flexible Activation: Open the viewer by clicking the icon or double-clicking the image.
  • Comprehensive Controls:
  • Zoom: via buttons or mouse wheel.
  • Rotate: Left or right using dedicated buttons.
  • 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


Customization

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).

Notes

  • No Facebook Hacks: This script intentionally avoids Facebook-specific workarounds to remain lightweight. double click option is still working.
  • License: Distributed under the GPL-2.0 license.