# Viewer.js

JavaScript image viewer for images in a web page, shown in a modal or inline.


Source: https://findsoftware.frbit.cloud/viewerjs/
Last reviewed: 2026-11-17
Listed since: 2026-11-17

## Record

### Links

- home: https://fengyuanchen.github.io/viewerjs/
- repository: https://github.com/fengyuanchen/viewerjs
- docs: https://github.com/fengyuanchen/viewerjs/blob/main/README.md

### Identity

- status: active
- maintainer: Chen Fengyuan
- maintainerType: individual
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: ui-library
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm, cdn

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-10-01

### Adoption

- githubStargazers: 8243
- packagistDownloads: not applicable
- npmWeeklyDownloads: 157508
- contributors: 20
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1682
- dependentPackages: 626

### Sources

- urls: https://fengyuanchen.github.io/viewerjs/ (read 2026-11-17)
- urls: https://api.github.com/repos/fengyuanchen/viewerjs (read 2026-11-17)
- urls: https://github.com/fengyuanchen/viewerjs/blob/main/README.md (read 2026-11-17)
- maintainer: https://raw.githubusercontent.com/fengyuanchen/viewerjs/main/LICENSE (read 2026-11-17)
- maintainerType: https://raw.githubusercontent.com/fengyuanchen/viewerjs/main/LICENSE (read 2026-11-17)
- firstRelease: https://api.github.com/repos/fengyuanchen/viewerjs/tags?per_page=100 (read 2026-11-17)
- category: https://github.com/fengyuanchen/viewerjs/blob/main/README.md (read 2026-11-17)
- language: https://api.github.com/repos/fengyuanchen/viewerjs (read 2026-11-17)
- installMethod: https://github.com/fengyuanchen/viewerjs/blob/main/README.md (read 2026-11-17)
- installMethod: https://github.com/fengyuanchen/viewerjs/blob/main/README.md (read 2026-11-17)
- license: https://raw.githubusercontent.com/fengyuanchen/viewerjs/main/LICENSE (read 2026-11-17)
- licenseModel: https://raw.githubusercontent.com/fengyuanchen/viewerjs/main/LICENSE (read 2026-11-17)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/viewerjs (read 2026-11-17)
- currentMajor: https://api.github.com/repos/fengyuanchen/viewerjs/releases (read 2026-11-17)
- latestReleaseDate: https://api.github.com/repos/fengyuanchen/viewerjs/releases/latest (read 2026-11-17)
- githubStargazers: https://api.github.com/repos/fengyuanchen/viewerjs (read 2026-11-17)
- contributors: https://api.github.com/repos/fengyuanchen/viewerjs/contributors?per_page=1 (read 2026-11-17)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/viewerjs (read 2026-11-17)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/viewerjs (read 2026-11-17)

## Notes

Viewer.js is a JavaScript image viewer that shows images from a web page in a modal or inline mode. The README documents installing it with npm or loading it from the cdnjs CDN, and lists its options, methods and events. Chen Fengyuan holds the copyright.

## Worth knowing

The README lists support for the latest Chrome, Firefox, Safari, Opera and Edge, and for Internet Explorer 9 and later. A jQuery plugin wrapper exists as a separate project.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
