Garden Gnome Package

描述

This plugin provides an easy way to publish panoramas and object movies created with Garden Gnome Software’s Pano2VR and Object2VR.

You can embed a package via a shortcode like [ggpkg id=12] or a block in the Gutenberg editor.

Sample packages can be downloaded from our forum.

Shortcode

When you are using a shortcode to embed a package, you can provide additional parameters in the shortcode:

  • width: the width of the player in the page

  • height: the height of the player in the page

  • start_preview: when set to ‘true’, the player will initially show as a preview image with a play button.

  • start_node: if the package is a virtual tour, you can specify the start node. You can find the node ID of each node in the tooltip in the tour browser.

  • start_view: for panoramas and virtual tours, sets the initial view of the first node. The format is ‘pan/tilt/fov/projection’. The projection parameter is optional.

  • url: can be used instead of ID, to embed a package from a specific URL. Like [ggpkg url='....']

Example: [ggpkg id=12 width='100%' height='500px' start_preview='true']

If you are using the Gutenberg Editor and want to embed a package via a shortcode, use a Classic Block from the ‘Formatting’ section, and use the Add Media button to add a package from the media library.

Gutenberg Block

You can find the GGPKG Gutenberg Block in the Widgets section.

In the GGPKG Block, you can pick a package from the media library.

In the Inspector panel on the right, you can specify if the package should start with a preview image and a play button, and set the width and height of the player in the page.

Elementor Widget

You can find the Garden Gnome Package Widget in the General section.

In the Widget settings, you can pick a package from the media library, define the height, and select if it should start with a preview image.

屏幕截图

  • Embedded virtual tour
  • Gutenberg block
  • Settings page
  • Shortcode in classic editor

区块

该插件提供了1个区块.

  • GGPKG

安装

Requirements:

The zip and libxml PHP module must be installed on your server.

Installation:

  1. Upload the plugin files to the /wp-content/plugins/garden-gnome-package directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常见问题

What is a Garden Gnome Package?

A Garden Gnome Package is a simple ZIP file that contains everything necessary to display a single panorama, virtual tour, or object movie. After uploading the package, the plugin extracts the archive.

How can I create a package?

Please see the Pano2VR documentation.

How can I upload a tour with a large file size?

The easiest solution is to install the excellent Tuxedo Big File Uploads plugin.

There are two strategies without an additional plugin:

  • Upload the tour to a folder on a web server and use the shortcode [ggpkg url="https://example.com/my_tour_folder/"] to point to the tour.

  • Upload a small version of the tour (i.e., just the start node) and then replace the files in the extracted folder in the upload directory.

How can contribute?

Please submit a pull request on GitHub.

评价

2020年11月6日
Special for Garden Gnome files or? icone its here, but cant find package! nothing.
2020年10月7日
Request to the developers! Fix the tour through an arbitrary area in full screen mode! WordPress 5.5.1 does not highlight an arbitrary area (to navigate the tour) when the mouse is hovering in full screen mode (( ----------------------------------------------------------- Просьба к разработчикам ! Поправите переход по туру через произвольную область в полно экраном режиме! WordPress 5.5.1 не подсветки произвольной области (для перехода по туру) при наведении мыши именно в полно экранном режиме ((
2019年7月24日
Making it easy to display Garden Gnome Softwares virtual tours and objects.
阅读所有4条评价

贡献者及开发者

“Garden Gnome Package” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Garden Gnome Package”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Garden Gnome Package”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.2.4

  • Fix for centered preview button

2.2.3

  • Fix warnings in JSON parser

2.2.2

  • Forces CSS line-height to 1.0 in skins

2.2.2

  • Forces CSS line-height to 1.0 in skins

2.2.1

  • Fix for uninstall hook and deprecation warning

2.2.0

  • New icon
  • Added WebXR support

2.1.3

  • Fix for copy current package player
  • Fix for multiple different skins on a page
  • Fix in Gutenberg editor for WordPress 5.4

2.1.2

  • Elementor widget is now responsive
  • Fix for fullscreen, if the fullscreen API is missing

2.1.1

  • Disable ‘sslverify’ for gginfo download, as this causes issues with PHP 7.4

2.1.0

  • Added and Elementor widget
  • Added a filter for packages in the media library
  • Changed div container ids

2.0.1

  • Improved CSS reset for images

2.0

  • Complete rewrite of the ggpkg-import plugin.