=== Auto Thickbox Plus ===
Contributors: attosoft
Tags: lightbox, thickbox, shadowbox, gallery, image, images, slideshow, slide show, thumbnail, thumbnails, popup, pop-up, overlay
Requires at least: 2.8
Tested up to: 3.2.1
Stable tag: trunk
Overlays linked images on the current page in simple and fast effects. (improved version of Auto Thickbox Plugin, with some extra features)
== Description ==
Auto Thickbox Plus plugin is the improved version of [Auto Thickbox Plugin For WordPress](http://www.semiologic.com/software/auto-thickbox/), with some extra features.
Clicking on image or text links to images, this plugin overlays linked images on the current page in simple and fast effects. It's recommended if you want to pop up thumbnails easily in its original size.
= Features =
* Automatically applies [ThickBox script](http://jquery.com/demo/thickbox/) to thumbnail images
* All you do is write image links to images (img tag enclosed with link tag), and this plugin overlays (pops up) linked images.
* Pop-up effects are simple and fast compared to [Lightbox and derivative scripts](http://planetozh.com/projects/lightbox-clones/) (no animation effects, no fancy design)
* Uses WordPress' built-in ThickBox library (no need to install the script and refer to it separately)
= Extra Features =
* Overlays (pops up) images in not "Gallery Images" but "**Single Image**" style
* Automatically also applies ThickBox to **text links** to images (text enclosed with link tag)
* Loads additional CSS file (ex. rounded corners in pop-up windows)
* Has Auto Thickbox Plus Options in 'Settings' menu (You can change the behavior of the above items)
* Supports BMP and [WebP](http://code.google.com/speed/webp/) image formats
* Note: To pop up WebP image requires to tweak thickbox.js (see FAQ)
* Add French (fr_FR), Japanese (ja), Romanian (ro_RO) translations
\* Auto Thickbox Plus plugin is besed on Auto Thickbox v.2.0.3 (Jul 20th, 2011).
= Usage =
Write image links to images, and linked image is overlaid (popped up) on the current page.
Or write text links to images, and linked image is also overlaid (popped up).
Link Text
\* Instead of alt attribute of img element, image description is specified by title attribute of link element.
= Advanced Usage =
If you want to display images in "Gallery Images" style, add common value to rel attribute of link element. (a@rel="foo")
If you want to disable pop-up images, add "nothickbox" to class attribute of link element. (a@class="nothickbox")
If you want to enable ThickBox on any links to non-image (such as iframe), add "thickbox" to class attribute of link element. (a@class="thickbox")
Any links to non-image
= Supported Locales =
* Czech (cs_CZ)
* French (fr_FR)
* German (de_DE)
* Irish (ga_IR)
* Hindi (hi_IN)
* Japanese (ja)
* Romanian (ro_RO)
* Portuguese (pt_BR)
= Links =
* [Homepage (attosoft.info)](http://attosoft.info/en/) \[[Japanese](http://attosoft.info/)\]
* [Auto Thickbox Plus Plugin Official Site](http://attosoft.info/blog/en/auto-thickbox-plus/) \[[Japanese](http://attosoft.info/blog/auto-thickbox-plus/)\]
* [Auto Thickbox Plugin (Original)](http://www.semiologic.com/software/auto-thickbox/) \[[WordPress.org](http://wordpress.org/extend/plugins/auto-thickbox/)\]
* [ThickBox 3.1 (JavaScript Library)](http://jquery.com/demo/thickbox/)
== Installation ==
1. Upload the plugin folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
\* If Auto Thickbox (without Plus) plugin is installed, you need to deactivate or uninstall it before activating Auto Thickbox Plus plugin. You can NOT activate this plugin and the original plugin at the same time.
== Frequently Asked Questions ==
= How to access Auto Thickbox Plus Options? =
1. Access WordPress Dashboard Screen
2. Click [Settings] - [Auto Thickbox Plus] in sidebar
= I want to overlay images in "Gallery Images" style by default =
1. Access Auto Thickbox Plus Options page
2. Select [Gallery Images] button in [Default Display Style]
3. Click [Save Changes] button
= I want to disable ThickBox on text links by default =
1. Access Auto Thickbox Plus Options page
2. Select [Manual] button in [ThickBox on Text Links to Images]
3. Click [Save Changes] button
= I don't want to use Auto Thickbox Plus CSS =
1. Access Auto Thickbox Plus Options page
2. Uncheck [Load additional CSS file (auto-thickbox.css)] checkbox
3. Click [Save Changes] button
= How to pop up WebP image in Google Chrome or Opera =
1. Open `/wp-includes/js/thickbox/thickbox.js` file
2. Jump to line 72, and modify as follows
- var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
+ var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$|\.webp$/;
3. Jump to line 75, and modify as follows
- if(urlType == ... == '.bmp'){//code to show images
+ if(urlType == ... == '.bmp' || urlType == '.webp'){//code to show images
4. Save the file
== Screenshots ==
1. Pop-up image in "Single Image" style (without Prev and Next links)
2. Pop-up image in "Gallery Images" style (with Prev and Next links)
3. Auto Thickbox Plus Options page
== Changelog ==
= 0.2 =
* Add additional CSS file (auto-thickbox.css), and CSS load option (see FAQ)
* Supports BMP and [WebP](http://code.google.com/speed/webp/) image formats
* Note: To pop up WebP image requires to tweak thickbox.js (see FAQ)
* Add plugin links on the 'Plugins' page (Show Details, Settings, Contact Me)
* Include screenshot images in release zip (see Screenshots)
= 0.1 =
* Initial release (based on Auto Thickbox v.2.0.3)