Skip to content

Simple web app to display a remote image file in a lightbox-style interface

License

Notifications You must be signed in to change notification settings

source-cooperative/image-viewer

Repository files navigation

image-viewer

A simple web app to display a remote image file in a lightbox-style interface. Supported formats include JPEG, PNG, GIF, SVG, WebP, AVIF, and BMP. Maximum allowed file size is 200 MB.

Uses OpenSeadragon to display images.

How to use

When the app is running, submit a valid remote image URL via query parameter url. For example:

https://source-cooperative.github.io/image-viewer/?url=https://upload.wikimedia.org/wikipedia/commons/d/db/Tree_of_Life_-_Shaker_-_painted_by_Hannah_Cohoon.JPG

Once the image loads, use the built-in controls to zoom, rotate the image, or enter full screen mode.

Development setup

# Install dependencies
npm install

# Run development server
npm run dev

# Build production website
npm run build

About

Simple web app to display a remote image file in a lightbox-style interface

Resources

License

Stars

Watchers

Forks

Contributors