Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

PTViewer

Summary: how to display panoramic images
Version: 05/11/02
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:
Maintainer:
Categories: Images

Question

How can I display 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 <parameters...> :)

with the following parameters:

width=..., height=...
The applet geometry (required).
file=<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.
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

05/11/02
Initial release

See Also

Applet

Comments

Edit - History - Print - Recent Changes - Search
Page last modified on March 21, 2007, at 10:06 AM