10 Best Vanilla JavaScript Image Viewer Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

vie

viewerjs

JavaScript image viewer.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
6K
Weekly Downloads
24K
Last Commit
18d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

cornerstone-core

JavaScript library to display interactive medical images including but not limited to DICOM

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
8K
Last Commit
17d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
lj

lightgallery.js

Full featured JavaScript image & video gallery. No dependencies

License Icon
License: GPL-3.0-or-later
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Performant
1Highly Customizable
1Responsive Maintainers
GitHub Stars
5K
Weekly Downloads
13K
Last Commit
4mos ago
Bundle Size (min+gzip)
6.61KB
Not Tree-Shakeable
pho

photoswipe

JavaScript image gallery for mobile and desktop, modular, framework independent

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
16
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
21K
Weekly Downloads
63K
Last Commit
6mos ago
Bundle Size (min+gzip)
11.9KB
Not Tree-Shakeable

openseadragon

An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
11K
Last Commit
21d ago
Bundle Size (min+gzip)
53.2KB
Not Tree-Shakeable

mirador

An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
418
Weekly Downloads
827
Last Commit
17d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
kal

kaleidoscopejs

🔮 An embeddable, lightweight 360º video/image viewer

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
310
Weekly Downloads
684
Last Commit
2yrs ago
Bundle Size (min+gzip)
64.0KB
Tree-Shakeable
len

lenti

Lenticular image viewer

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
6
Weekly Downloads
6
Last Commit
3mos ago
Bundle Size (min+gzip)
1.48KB
Not Tree-Shakeable
sj

simplezoom.js

A tiny JavaScript library to preview images, better way!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
81
Weekly Downloads
5
Last Commit
5yrs ago
Bundle Size (min+gzip)
1.15KB
Not Tree-Shakeable
cgv

ctc-gallery-viewer

Gallery viewer written in javascript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
3
Last Commit
1yr ago
Bundle Size (min+gzip)
0.13KB
Not Tree-Shakeable
lig

lightningbox

A fast and super-small image viewer lightbox.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
1
Last Commit
4yrs ago
Bundle Size (min+gzip)
2.12KB
Not Tree-Shakeable

photoride

A simple image viewer with support for long captions.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
0
Last Commit
6yrs ago
Bundle Size (min+gzip)
10.1KB
Not Tree-Shakeable