Using CMS Plugins
The Garden Gnome Package (GGPKG) is a package that can be used for content management systems and lets you easily embed your projects into your website.
-
Create a Garden Gnome Package.
-
Download and install the plug-in for your CMS. Instructions for the installation can be found here:
-
Optionally, customize the package using the attributes listed below.
Package Attributes
Once the package is added to a post, you can use the following attributes to customize how the package is displayed. The first attribute added needs ggpkg at the beginning of the string as in:
| Attribute | Description | Joomla | WordPress |
|---|---|---|---|
id or file |
Identifies package (required) | file="test.ggpkg" |
id=75 |
url |
Remote URL of Pano2VR web output or Object2VR HTML5 output (optional – instead of id or file) |
url="http://ggno.me" |
url='http://ggno.me' |
width |
Width of the player (optional) | width="320" |
width='320' |
height |
Height of player (optional) | height="240" |
height='240' |
start_preview |
If player starts as preview image (optional) | start_preview="true" |
start_preview='true' |
start_node |
Specify with which node a tour starts using the Node ID | start_node="node5" |
start_node=node5 |
start_view |
Sets the initial view of the first node. The format is pan/tilt/fov/projection. |
start_view="0/0/100/4" |
start_view=0/0/100/4 |