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.

  1. Create a Garden Gnome Package.

  2. Download and install the plug-in for your CMS. Instructions for the installation can be found here:

  3. 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:

GGPKG shortcode example
GGPKG shortcode example
Attribute 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='320'
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 n/a start_node=node5
start_view Sets the initial view of the first node. The format is pan/tilt/fov/projection. Projection is optional. n/a start_view='90/0/70'

Troubleshooting

Having troubles? Please take a look at the following requirements. If these don’t fix your issue, feel free to contact us.

  • Do not use numbers (0-9) in the beginning of the GGPKG’s file name.

  • Make sure the ZIP extension for PHP is installed on your server. In most cases, you will get an error message stating it is missing if it is not installed. You will then need to contact your host provider and ask them to install it for you.

  • Do not use special characters (รก, $, ^, etc.) in the package filename.

  • Do not use spaces in the package filename.


See also