# Pannellum

Pannellum is an open\-source panoramic image viewer built with JavaScript and web technologies\.

ID: Q649 · Revision: 697

Type: software · License: MIT[^pn-license] · Status: active

Website: https://pannellum.org/



Pannellum is an open\-source panoramic image viewer built with JavaScript and web technologies\. It can be embedded in a page, run as a standalone web viewer or integrated through an API\. Linked scenes provide a lightweight route to virtual tours without buying a dedicated desktop authoring package\.[^pn-overview][^pn-tour]

## Formats and hosting

The viewer accepts equirectangular images, cube maps and a multiresolution format\. A single equirectangular image is straightforward to supply, but device texture limits and download size constrain practical resolution\. Multiresolution imagery uses tiled cube\-face pyramids, requiring preparation and many hosted files\. Pannellum is static content that can be served from ordinary web hosting, with a CDN also available for its viewer files\.[^pn-overview]

## Tour configuration

The documented tour example defines scenes by identifier and connects them through navigation hotspots\. A link can select the destination's orientation, while a separate parameter controls scene fading\. This makes the relationship between photographs explicit in configuration\. It does not infer a building's layout from the images or provide evidence that an unrelated editor's project file can be imported unchanged\.[^pn-tour]

## Integration and input handling

URL parameters cover a subset of options; more extensive setups use JSON configuration or the JavaScript API\. Configuration includes base paths, fallback links, orientation controls and CORS request mode\. The reference also documents HTML escaping: enabled for the standalone viewer, but disabled by default in API usage unless requested\. Applications that accept externally supplied labels should therefore review their input\-handling design rather than assuming the embedding mode supplies identical safeguards\.[^pn-ref]

## License and preservation

The MIT license permits reuse, modification and redistribution subject to retaining its notices and disclaimers\. A durable project archive should include the application's configuration and the referenced panorama or tile files, not just a viewer URL\. This preservation advice follows the documented separation between scene definitions and image assets; the library itself is not a managed archival service\.[^pn-license][^pn-tour]

## Substitution considerations

Pannellum can substitute for [Marzipano](/marzipano) for displaying panoramic images and manually linked web tours\. Reusing source photographs is distinct from reusing application code: scene definitions, hotspot callbacks and viewer integration need adaptation\. The assessment is limited to this presentation task and does not assert matching every API, effect or authoring\-tool convenience\.[^pn-tour][^pn-ref][^m-home]

## Capabilities and substitutions

### Linked\-scene tours — supported

Configuration links panorama scenes through hotspots and can control arrival orientation\.[^pn-tour]

Use case: Panoramic presentation authoring and delivery · Platforms: Web · Region: Web delivery and platform requirements apply

### Multiresolution delivery — supported

Tiled cube pyramids support large imagery but require preparation and multiple hosted files\.[^pn-overview]

Use case: Panoramic presentation authoring and delivery · Platforms: Web · Region: Web delivery and platform requirements apply

### [Substitute for Marzipano](/marzipano) — limited

Candidate for rebuilding image tours; scene configuration and integration require adaptation\.[^pn-tour][^m-home]

Use case: Linked panoramic web presentations · Platforms: Web · Region: Web delivery and platform requirements apply

## References

[^pn-license]: [Pannellum license](<https://github.com/mpetroff/pannellum/blob/master/COPYING>) — MIT permission, notice retention and warranty disclaimer (vendor; retrieved 2026-10-07T03:09:10Z)

[^pn-overview]: [Pannellum overview](<https://pannellum.org/documentation/overview/>) — Embedding, static hosting, panorama formats and multiresolution trade\-offs (vendor; retrieved 2026-10-07T03:08:49Z)

[^pn-tour]: [Pannellum tour example](<https://pannellum.org/documentation/examples/tour/>) — Scene identifiers, navigation hotspots, fade and target orientation (vendor; retrieved 2026-10-07T03:09:34Z)

[^pn-ref]: [Pannellum configuration reference](<https://pannellum.org/documentation/reference/>) — JSON and URL configuration, base paths, fallback and orientation controls (vendor; retrieved 2026-10-07T03:08:56Z)

[^m-home]: [Marzipano website](<https://www.marzipano.net/>) — Browser tool, equirectangular/cubeface input, web export, WebGL and customization (vendor; retrieved 2026-10-07T03:09:34Z)

Source revision: https://substitutefor.net/entities/Q649?revision=697
