github.com/drkxbt/lightbox
lightbox
An image viewer where pictures grow out of their thumbnails, crop and all. Swipe between them, drag down to close, pinch or double-tap to zoom. Plain TypeScript, no dependencies. Tap any picture below.
npm install github:drkxbt/lightboxA gallery
Square tiles, a wide one and a tall one. Each picture grows out of exactly the part its tile shows.
Big pictures, small thumbnails
These thumbnails are 640 pixels wide; the full screenshots are 2880. The thumbnail shows at once and the full image takes over when it has loaded. Zoom in to read the numbers.
On its own
In the viewer
- Swipe, arrow keys
- Next and previous
- Drag down, Escape, Back
- Close
- Double-tap, pinch, click
- Zoom in and out
- Ctrl and scroll, trackpad pinch
- Zoom at the pointer
- Drag a zoomed image
- Look around
- Tap the picture on a phone
- Hide the controls







