fengyuanchen/viewerjs

JavaScript image viewer.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 18 minutes ago
Added to GitGenius on September 8th, 2026
Created on December 24th, 2015
Open Issues & Pull Requests: 15 (+0)
GitHub issues: Enabled
Number of forks: 1,238
Total Stargazers: 8,235 (+0)
Total Subscribers: 125 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.8 days
Mean response time: 262.5 days
90th percentile: 846.1 days
Tracked items: 49

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 8% of issues opened in the past year have been closed. Three people close 100% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 1
Closed in 7 days: 21
Avg open age: 0 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 21
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (21)
  • duplicate (4)
  • bug (3)
  • question (2)
  • help wanted (1)
  • invalid (1)

Detailed Description

Viewer.js is a JavaScript image viewer that provides modal and inline viewing modes with touch support, zoom, rotation, and keyboard controls.

The tool solves the problem of displaying images interactively in web applications. It works by accepting an HTML element containing one or more images and wrapping them with a viewer interface that supports both modal (full-screen overlay) and inline (embedded) display modes. Users can navigate between images, zoom in and out, rotate and flip images, and control playback through keyboard shortcuts or UI buttons. The viewer exposes its functionality through options for customization, methods for programmatic control, and events for integration with application logic.

Developers should choose this tool when building web applications that need rich image viewing capabilities without building from scratch. It suits projects ranging from simple image galleries to complex image management interfaces. The tool provides a jQuery plugin wrapper for teams already using jQuery, though the core library works independently. Cross-browser support and touch gesture handling make it suitable for both desktop and mobile applications.

The project shows consistent maintenance with regular updates addressing bug fixes and feature refinements. Development activity demonstrates responsiveness to user issues and pull requests, with a focus on stability and backward compatibility. The maintainer actively manages the project roadmap and incorporates community feedback into releases.