跳到内容

TinyWebGallery wrapper

v2.4

mdempfle · 2011年8月12日 上架

This plugin includes TinyWebGallery as shortcode in an advanced iframe and offers a TWG random image widget.

正在使用
30+
评分
5.0 / 5
累计下载
7,349
最近更新
2023年1月19日
1 条评价需要 WordPress 2.8.6+已测试到 6.0.19

贡献者

截图

Comparison between normal iframe and advanced iframe wrapper. The red areas are modified by the advanced iframe to display the content better.
Comparison between normal iframe and advanced iframe wrapper. The red areas are modified by the advanced iframe to display the content better.
This image shows the difference with an url forward parameter. In the advanced iframe a sub album is shown while the normal iframe still shows the entry screen.
This image shows the difference with an url forward parameter. In the advanced iframe a sub album is shown while the normal iframe still shows the entry screen.
Shows 3 different styles of the random image with no border, drop shadow and a simple border.
Shows 3 different styles of the random image with no border, drop shadow and a simple border.
The basic admin screen to enable standard settings.
The basic admin screen to enable standard settings.
The advanced admin screen to enable advanced settings like html and css changes.
The advanced admin screen to enable advanced settings like html and css changes.
The section to enter the TWG admin details.
The section to enter the TWG admin details.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums