GitXplorerGitXplorer
l

easy-panorama

public
3 stars
1 forks
4 issues

Commits

List of commits on branch master.
Verified
6857dd852103c9253b3a65ad7be41651a255e39e

chore: update "Tested up to" version

lleopuleo committed 2 years ago
Unverified
d52c5ba0cda748d68661ceca91c090f1c94efd26

chore: release 1.1.5

lleopuleo committed 2 years ago
Unverified
ff7dfc68c73a3bff86817eecba0ff515062fd38b

fix: escape input text fields

lleopuleo committed 2 years ago
Unverified
96b3684f45f4b8da4504a1370e4a3e4c8b77a9ec

Update ruleset.xml

lleopuleo committed 6 years ago
Unverified
4753bec8af476e9e0b0d74f01d1531c43aa24ba2

Update ruleset.xml

lleopuleo committed 6 years ago
Unverified
95256e115a14d6d79052b0d4ac83638de531ded9

Update .travis.yml

lleopuleo committed 6 years ago

README

The README file for this repository.

Easy Panorama (WordPress Plugin)

Build Status

Embed interactive wide/panoramic images on your site. Optimised for responsive layouts, it works great with devices equipped with motion sensors.

Description

Easy Panorama plugin for WordPress websites allows you to display wide/panoramic images in a more accessible way: enjoy your panoramic photos scrolling them on the x-axis or moving your mobile device.

You can start embedding your panoramic images using the handy shortcode (TinyMCE editor) or the new Block.

Easy Panorama uses the packed Paver 😄.

Main features

  1. Enqueuing of Paver Javascript and CSS files.
  2. Customization of Paver appearance and behaviour from the Panorama Settings page.
  3. Other geek settings in the Advanced Settings page.
  4. [easy_panorama] shortcode to embed panoramic images with no hassle.
  5. Custom Panorama Block for a better editing experience 🎉.

Shortcode (Classic WordPress editor)

Easy Panorama Shortcode

Include your favourite panoramic images in posts and pages using the built-in shortcode functionality.

If you are using the classic WordPress editor (TinyMCE), you will find the Add Panorama button above the editor: click on the button and select the image you want to include. The shortcode will be inserted in the editor and replaced by the panoramic viewer when you visit the website.

You can customize the appearance and behaviour of the panoramic viewer through the Easy Panorama settings page or adding specific attributes to each shortcode: these will override the general settings.

Shortcode attributes cheat sheet:

  • id: attachment/image WordPress id (number) - Required
  • url: image url (string)
  • meta: determines whether a metadata overlay should be displayed (boolean)
  • title: image title, showed on overlay in case "Show image meta" ("meta" attribute) is set to true (string)
  • alt: image alternative text, showed on overlay in case "Show image meta" ("meta" attribute) is set to true (string)
  • graceful_failure: allows the display of failure message (boolean)
  • failure_message: this message will appear in mobile devices with no gyroscopic data or no physical orientation support (string)
  • failure_message_insert: the location where the failure message will be inserted (before | after)
  • minimum_overflow: the excess width the picture must have before panoramic viewer kicks in (number)
  • start_position: the start position of the panorama (number from 0 to 1)

Block (Gutenberg editor)

Easy Panorama Block Include your favourite panoramic images in posts and pages using the built-in block functionality.

If you are using the Gutenberg editor (WordPress >= 5.0), you find the Panorama block ready to be embedded in your post. Search for "Panorama" within the blocks list, select it and choose the image you want to include. You can customize the appearance and behaviour of each panoramic viewer thanks to the Inspector Control.

Block features

  • Embed your panoramic/wide images in the new editor with no hassle.
  • Preview your panorama within the editor.
  • Customize the appearance and behaviour of each panoramic viewer thanks to the Inspector Control.
  • Transform "Image" blocks into "Panorama" blocks with one click.
  • Transform "Panorama" blocks into "Image" blocks with one click.
  • Transform previous inserted [easy_panorama] shortcodes into "Panorama" blocks with one click.

Easy Panorama Shortcode Transform

Requirements

Easy Panorama requires:

  • WordPress >= 4.5 (Required for TinyMCE shortcode)
  • WordPress >= 5.0 (Required for the new custom Panorama Block feature)
  • PHP >= 5.6
  • Node >= 8.9.X (Required for Block feature development)
  • Yarn (Required for Block feature development)

Contribution

There are many ways to contribute to this plugin:

  1. Report a bug, submit a pull request or new feature proposal: visit the Github repo.
  2. Translate it in your language: visit the WordPress translation page.
  3. Rate it 5 stars on WordPress.org.
  4. Buy me a beer! 🍺

Support

Visit the WordPress.org or Github Issue Tracker.

Licence

GPL-2.0+