Skip to content

gutris1/sd-image-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SD Image Viewer

Based on viyiviyi zoom image extension.
a pure DOM manipulation for image zooming, dragging, and touch gestures on touchscreen devices
for txt2img and img2img image viewer.

what's different, the image will now always centered
and when its width/height exceeds the container's width/height
the image edges will always snap to the container's edges during dragging.

Usage:

  • Use mousewheel/pinch to zoom in and out.
  • Hold left-click/touch to drag the image.
  • CTRL/SHIFT + mousewheel to move the image vertically/horizontally.

credits

viyiviyi

About

Interactive Image Viewer with mouse wheel/pinch zoom and drag-to-pan using mouse/touch gestures for txt2img and img2img image viewer

Resources

License

Stars

Watchers

Forks

Contributors