Simple Photo Sphere

Description

Create spherical photos with Google Camera or any photo sphere applications and insert it your site with Simple Photo Sphere.
Simple Photo Sphere it is works with touch screens too.
Demo

Shortcode example

Minimal

[sps_img img_id=”1″ caption=”Bedroom”]

All options

[sps_img img_id=”1″ caption=”Living room” width=”800″ height=”600″ padding=”10″ autoplay=”0″ two_fingers=”1″ longitude=”0″ latitude=”0″ zoom=”60″ imgstyle=”border: 2px solid darkblue;” two_fingers_titel=”Use two fingers to navigate” autorotate_title=”Automatic rotation” zoom_title=”Zoom” zoom_out_title=”Zoom Out” zoom_in_title=”Zoom In” normal_size_title=”Switch to small Size” full_size_title=”Switch to full size”]

Required

img_id: select your img id from media library (If not specified, a demo image is displayed.)

Display optional
(Not necessary, is displayed correctly with the default settings)

width: image max width in pixel (default: 600)
height: image max height in pixel (default: 450)
padding: distance from other elements in pixel (default: 10)
caption: description of the photo sphere (default: Photo Sphere)
longitude: initial longitude, between 0 and 2π
latitude: initial latitude, between -π/2 and π/2
zoom: initial zoom, between 30 and 90 (default: 60)
imgstyle: extra CSS options for advanced user
autoplay: enable or disable auto rotate, 0 is off and 1 is on (default: 0)
two_fingers: Requires two fingers to rotate the panorama. This allows standard touch-scroll navigation in the page containing the viewer. If enabled, an overlay asking the user to use two fingers is displayed when only one touch is detected. 0 is off and 1 is on (default: 0)

Language options
(Not necessary, is displayed in English language with the default settings)

two_fingers_titel: Use two fingers to navigate
autorotate_title: Automatic rotation
zoom_title: Zoom
zoom_out_title: Zoom Out
zoom_in_title: Zoom In
normal_size_title: Normal Size
full_size_title: Full Size

You can set the titles on settings page. (This will be the default for all shortcode.)

CSS examples

Simple border = border: 2px solid lightslategrey;
Simple border with padding = padding: 4px;border: 4px solid darkslateblue;
Double border = padding: 4px; border: 4px solid darkblue; background-color: darkslateblue;

Screenshots

  • Media library
  • Sample
  • Settings page

Installation

Add the plugin by uploading the zip file or by installing it from the WordPress Plugin directory.
Activate the plugin and use the shortcode in your content.

Contributors & Developers

“Simple Photo Sphere” is open source software. The following people have contributed to this plugin.

Translate “Simple Photo Sphere” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.0.6

  • Compatible with WordPress 5.2
  • Some bugs fixed

0.0.5

  • New options in setting page.

0.0.4

  • New setting page for default settings.

0.0.3

  • The initial position and zoom can be set in the short code.

0.0.2

  • The fullscreen option has been removed because it doesn’t work on Apple devices! New options replace the fullscreen option.

0.0.1

  • Initial release