[WordPress] 外掛分享: Easy Panorama

首頁外掛目錄 › Easy Panorama
WordPress 外掛 Easy Panorama 的封面圖片
500+
安裝啟用
★★★☆☆
3.6/5 分(5 則評價)
1148 天前
最後更新
問題解決
WordPress 4.5+ PHP 5.6+ v1.1.5 上架:2016-09-11

內容簡介

Easy Panorama WordPress外掛讓您更輕鬆地在網站中顯示寬闊/全景圖像:透過在x軸上滾動或移動您的行動裝置,欣賞全景照片。

您可以使用方便的短代碼(TinyMCE編輯器)或新增版面區塊開始嵌入全景圖像。

Easy Panorama使用打包的Paver。

主要功能

編列Paver Javascript和CSS檔案。
從全景設定頁面自訂Paver外觀和行為。
進階設定頁面中的其他專業設定。
[easy_panorama]短代碼可輕鬆嵌入全景圖像。
自訂全景區塊,提供更好的編輯體驗。

短代碼(經典WordPress編輯器)

使用內建的短代碼功能,在文章和頁面中加入您最喜愛的全景圖像。

如果您使用經典WordPress編輯器(TinyMCE),您將在編輯器上方找到「新增全景」按鈕:按下按鈕,然後選擇要包括的圖像。
當您瀏覽網站時,短代碼將被插入編輯器並被全景檢視器替換。

您可以透過Easy Panorama設定頁面或在每個短代碼中添加特定屬性,自訂全景檢視器的外觀和行為:這些將覆蓋一般設定。

短代碼屬性速查表:

id:附件/圖像WordPress id(數字)– 必填項
url:圖像URL(字符串)
meta:決定是否顯示元數據覆蓋層(布林值)
title:圖像標題,在「Show image meta」(「meta」屬性)設為true時在覆蓋層上顯示(字符串)
alt:圖像替代文字,在「Show image meta」(「meta」屬性)設為true時在覆蓋層上顯示(字符串)
graceful_failure:允許顯示失敗訊息(布林值)
failure_message:此訊息將出現在沒有陀螺儀數據或沒有實體方向支援的行動裝置上(字符串)
failure_message_insert:失敗訊息將插入的位置(before | after)
minimum_overflow:當圖片寬度超過多少時,全景檢視器就會啟動(數字)
start_position:開始位置的全景圖像(0至1的數字)

區塊(古騰堡編輯器)

使用內建的區塊功能,在文章和頁面中加入您最喜愛的全景圖像。

如果您使用Gutenberg編輯器(WordPress >= 5.0),您會發現Panorama區塊已準備好嵌入您的文章。
在區塊列表中搜尋「Panorama」,選擇它並選擇要包含的圖像。
您可以透過Inspector Control自訂每個全景檢視器的外觀和行為。

區塊功能

在新的編輯器中輕鬆嵌入您的全景/寬圖像。
在編輯器中預覽您的全景。
透過Inspector Control自訂每個全景檢視器的外觀和行為。
一鍵將「Image」區塊轉換為「Panorama」區塊。
一鍵將「Panorama」區塊轉換為「Image」區塊。
一鍵將原先插入的 [easy_panorama] 短代碼轉換為「Panorama」區塊。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Easy Panorama」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

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

Shortcode (Classic WordPress editor)
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)
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.

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 development)
Yarn (Required for Block development)
Contribution
There are many ways to contribute to this plugin:

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

Support
Need help? Read the FAQ or visit the WordPress.org support page / Github Issue Tracker.

文章
Filter
Apply Filters
Mastodon