PTViewer

Summary: how to display 360° panoramic images
Version: 2014-08-25
Prerequisites: Requires at least PmWiki version: 2, the applet.phpΔ script from the Applet related recipe and a ptviewer.jar applet; last tested on PmWiki version: 2.0.12
Status: Stable
Maintainer: Dfaure
Categories: Images PHP55

Question

How can I display 360° panoramic images in PmWiki pages?

Answer

The ptviewer.phpΔ script provides a (:ptviewer:) markup to handle this, with the help from the PTViewer applet.

Notes

Proceed to installation steps as usual for cookbook recipe scripts.

PTViewer Applet Installation

Get one of the PTViewer applet available on several sites and put the related archive into pub/applets subdirectory.

At the recipe initial release time, the following applets were available:

VersionsUrl
2.5, 3.1.2http://webuser.fh-furtwangen.de/~dersch/
2.7L2, 2.8 beta6http://www.fsoft.it/panorama/PTViewer.htm

Markup usage

Once installed, the following markup is available:

(:ptviewer <panoramic_image.jpg> <parameters...> :)

with the parameters:

<panoramic_image.jpg>
The JPEG panoramic image file to display (required).
The parameter follows the image/intermap/url link wiki conventions. You may refer to Uploads for more details.
width=..., height=...
The applet geometry (required).
caption=<text>
An optional caption text.

All other supplied parameters are forwarded to the PTViewer applet. Please refer to the applet documentation for further details.

Contributors

Dfaure

History

2014-08-25
Update for PHP 5.5 compatibility
2005-11-02
Initial release

See Also

  • Applet
  • Maxi can display panoramic images.
  • Here is a tutorial on how to install and use PTViewer

Comments

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.