https://github.com/commenthol/imgviewer
A simple image viewer for local photos to display in a browser.
https://github.com/commenthol/imgviewer
Last synced: 15 days ago
JSON representation
A simple image viewer for local photos to display in a browser.
- Host: GitHub
- URL: https://github.com/commenthol/imgviewer
- Owner: commenthol
- License: unlicense
- Created: 2023-07-02T07:51:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T06:30:37.000Z (almost 2 years ago)
- Last Synced: 2025-02-26T18:53:36.438Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imgviewer
A simple image viewer for local photos to display in a browser.
## usage
1. Copy all `index*.*` files into the directory of your images.
2. Run the bash script from a terminal `bash index-files.sh`
This creates the file `index-files.js`...
3. Open `index.html` in a browser.
4. Navigate with space or →
## supported keyevents
| key | meaning |
| :-------------------------------: | -------------------------- |
| space or → | next image |
| ← | previous image |
| ctrl → | next 10th image |
| ctrl ← | previous 10th image |
| r | random mode for next image |
| f | fullscreen |
| i | show image info |
| q or esc | hide image |
## license
[Unlicense](https://unlicense.org/)