https://github.com/zgoly/zviewer
Allows you to open images in full screen view.
https://github.com/zgoly/zviewer
image image-preview image-viewer image-zoom preview view view-images viewer zoom zoom-images
Last synced: 7 months ago
JSON representation
Allows you to open images in full screen view.
- Host: GitHub
- URL: https://github.com/zgoly/zviewer
- Owner: Zgoly
- License: mit
- Created: 2022-11-12T17:31:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T03:33:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T15:23:40.471Z (9 months ago)
- Topics: image, image-preview, image-viewer, image-zoom, preview, view, view-images, viewer, zoom, zoom-images
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZViewer - image viewer for JS
ZViewer allows you to open images in full screen view.
**[DEMO DEMO DEMO DEMO DEMO](https://codepen.io/zgoly/full/OJEmBJR)**
## Features:
- Fast
- Light
- Simple
- Beautiful
- Comfortable
- Free & open source
# Getting started
## Installation
Add this line to your HTML file:
```html
```
Or if you have downloaded `zviewer.js`:
```html
```
## Usage
It's simple - just use `zviewer(image)` function, where `image` can be:
1. Reference to element
2. Link to image
## Examples
Image, when clicked, opens in full screen
```html
```
Button, when clicked, opens random image in full screen
```html
Random image!
```