Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (39 sloc) 1 KB

Pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web. This version provides panorama views without using iframes.

For more information about usage and compatibility, please visit https://bitbucket.org/mpetroff/pannellum/

All credits goes to mpetroff.

Usage

View index.html for examples.

<html>
<head>
<!-- ... -->
<script>
new Pannellum({
    id:'panoramaOne',
    autoload:"yes",
    showFullToggle:true,
    showZoom:true,
    rotation:{
    direction:"right",
        speed:0.10
    },
    author:"Clément d’Esparbès",
    license:3
});
</script>
<!-- ... -->
</head>

<body>
<!-- ... -->
<img src="1_10.jpg" id="panoramaOne" width="435" height="330" title="Reception room"/>
<!-- ... -->
</body>
</html>

Changes

  • Read properties from img - tag where possible
  • Added roation feature
  • Refactored pannellum to read properties from object instead uf url