[WordPress] 外掛分享: TinyWebGallery wrapper

首頁外掛目錄 › TinyWebGallery wrapper
30+
安裝啟用
★★★★★
5/5 分(1 則評價)
1156 天前
最後更新
問題解決
WordPress 2.8.6+ v2.4 上架:2011-08-11

內容簡介

此外掛包含 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。增強當屬性被讀取時的讀取設置。新增一個管理員設置。詳情請參見版本履歷。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「TinyWebGallery wrapper」→ 直接安裝(推薦)

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon