Beskrivning
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.
Skärmdumpar
Installation
You need to have a running TinyWebGallery (v 1.8.5 recommended) standalone installation running! Recommended is to have TWG and WordPress on the SAME domain to be able to use the Lytebox!
There are 2 ways to install the TinyWebGallery Wrapper
Using the WordPress Admin screen
- Click Plugins, Add New
- Search for TinyWebGallery
- Install and Activate it
- Place ’[twg securitykey=””]’ in your pages or posts or use the widget.
Using FTP
- Upload ’tinywebgallery-wrapper’ to the ’/wp-content/plugins/’ directory
- Activate the plugin through the ’Plugins’ menu in WordPress
- Place ’[twg securitykey=””]’ in your pages or posts or use the widget.
Vanliga frågor
-
Working with the Shortcodes
-
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=””]
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”TinyWebGallery wrapper” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”TinyWebGallery wrapper” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.8.5
First version. Wrapper version always matches the version of TinyWebGallery