[WordPress] 外掛分享: TinyWebGallery wrapper

前言介紹

  • 這款 WordPress 外掛「TinyWebGallery wrapper」是 2011-08-11 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2023-01-18,距離現在已有 837 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.8.6 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mdempfle |

外掛標籤

TWG | iframe | gallery | shortcode | Tinywebgallery |

內容簡介

此外掛包含 TinyWebGallery 短碼和 TWG 隨機圖片小工具,使用高級 Iframe 來將其包裝。

使用 TinyWebGallery 短碼,透過輸入「[twg securitykey=””]」即可將 TinyWebGallery 嵌入任何頁面或文章。不同於一般 iframe 的是本控制台實現以下功能:

- 安全代碼:只有使用有效的管理代碼才能插入短碼。
- 啟用 / 禁用預設短碼設定的覆寫。
- 隱藏版面配置中的部分區域,為 iframe 提供更多空間(參見截圖)。
- 修改 CSS 样式,以更改內容區域的寬度(參見截圖)。
- 將參數傳遞給 iframe。
- 自動包含 lytebox 的 CSS。
- 設置優化的 TWG 皮膚。
- 自動添加用戶目錄。

可使用以下短碼屬性,請前往管理員確認詳細信息:

[twg securitykey=”” twg_url=”” width=”” height=”” scrolling=”” marginwidth=”” marginheight=””
frameborder=”” skin=”” addalbum=”” include_lytebox_css=”” content_id=”” content_styles=””
hide_elements=”” class=”” url_forward_parameter=””]

隨機圖片小工具會在側邊欄中添加一張隨機 / 最受歡迎的圖片,具有以下選項:

- 隨機 / 最受歡迎的圖片。
- 包含子目錄。
- 圖像的樣式(3個邊框,居中,CSS)。
- 單獨的鏈接到圖片或圖集。
- 具有淡入淡出效果的幻燈片。
- 可以在同一頁面多次使用,甚至可以連續播放幻燈片。

管理員的用戶介面可在 WordPress 的「設置->TinyWebGallery」菜單中找到,可以配置 iframe 的默認值。自動登錄可前往 TWG 管理員介面。

Iframe 套件也包含獨立的 iframe 套件,不包含任何 TWG 特點。本控制台在 TinyWebGallery 1.8.7 下測試。測試過 WordPress 3.3.1。修正文件中的錯誤,有時候會在 securitykey 中缺少 r。增強當屬性被讀取時的讀取設置。新增一個管理員設置。詳情請參見版本履歷。

原文外掛簡介

This plugin includes TinyWebGallery as shortcode in an advanced iframe and offers a TWG random image widget.
Shortcode for TinyWebGallery
By entering the shortcode ‘[twg securitykey=””]’ you can include the TinyWebGallery to any page or article.
The following differences to a normal iframe are implemented:

Security code: You can only insert the shortcode with a valid security code from the administration.
Enable/disable the overwrite of default short code settings
Hide areas of the layout to give the iframe more space (see screenshot)
Modify css styles to e.g. change the width of the content area (see screenshot)
Forward parameters to the iframe
Include the css for the lytebox automatically
Set an optimised TWG skin
Add the user directory automatically

The following shortcode attributes can be used. Please go to the administration for details:
[twg securitykey=”” twg_url=”” width=”” height=”” scrolling=”” marginwidth=”” marginheight=””
frameborder=”” skin=”” addalbum=”” include_lytebox_css=”” content_id=”” content_styles=””
hide_elements=”” class=”” url_forward_parameter=””]
Widget for a random image
Adds a random/most viewed image to your sidebar with the follwing options:
– random/most viewed image
– Include sub dirs
– Styling of the image (3 borders, center, css)
– Direct link to the image or album
– Slideshow with fade effect.
– Can be used multiple times on the same page. Even with slideshow!
Aministration

See Settings -> TinyWebGallery
Enables the configuration of the defaults for the iframe
Direkt link to the TWG administration with automatic login

Advanced iframe
The iframe wrapper is also available as standalone iframe wrapper without the TWG features. The plugin is called ‘Advanced iframe’ and can be found here:
Tested with TWG 1.8.7
Tested with WordPress 3.3.1
Fixed the typo in the doumentation. In securitykey sometimes the r was missing

.theirs= 1.8.6 =
Improved the reading of settings when the attributes are read.
Addes a new administration setting

1.8.5
First version.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「TinyWebGallery wrapper」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon