=== Auto ThickBox Plus ===
Contributors: attosoft
Donate link: http://attosoft.info/blog/en/donate/
Tags: lightbox, thickbox, shadowbox, gallery, semiologic, image, images, thumbnail, thumbnails, popup, pop-up, overlay, photo, photos, picture, pictures, javascript, simple
Requires at least: 2.8
Tested up to: 3.3.1
Stable tag: 0.7
Overlays linked image, inline, iFrame and AJAX content on the page in simple & fast effects. (improved version of Auto Thickbox plugin)
== Description ==
Auto ThickBox Plus plugin is the improved version of [Auto Thickbox](http://wordpress.org/extend/plugins/auto-thickbox/) plugin, with some extra features.
Clicking on image/text links to images etc, this plugin overlays linked content on the page in simple & fast effects. It's recommended if you want to pop up thumbnails easily in its original size.
= Basic Features =
* Automatically applies [ThickBox script](http://jquery.com/demo/thickbox/) to thumbnails including WordPress Galleries
* All you do is upload images to WordPress Gallery or write image links to images (`
`)
* Pop-up effects are simple & fast compared to Lightbox, ColorBox, FancyBox, Shadowbox, Slimbox and so on
* ThickBox will be the answer if you prefer no animation effects & no fancy design
* Automatically resizes images that are larger than the browser window
* Uses WordPress built-in ThickBox library (no need to install the script and refer to it separately)
= Extra Features =
* By default, overlays images in not "Gallery Images" but "**Single Image**" style
* By default, automatically also applies ThickBox to **text links** to images (`text`)
* Can be customized the behavior & design through more than 20 options
* Supports BMP and [WebP](http://code.google.com/speed/webp/) image formats
* Supports inline content on the page (#TB_inline)
* Supports AJAX content (displays internal files on the page without iframe)
* Supports Twenty Eleven theme (default theme in WordPress 3.2/3.3)
* Uses WordPress translations
* Now ThickBox window is localized to more than **70 languages** (Arabic, Chinese, Dutch, French, German, Hindi, Italy, Japanese, Korean, Polish, Portuguese, Russian, Spanish and more)
* And fixed several major/minor bugs in original plugin and thickbox.js/css (See [Changelog](changelog/))
\* Note: Auto ThickBox Plus plugin is besed on Auto Thickbox v.2.0.3 (Jul 20th, 2011).
= How to Install =
See [Installation](installation/).
= How to Use =
See [Usage in Other Notes](other_notes/).
= Special Thanks =
* Dutch (nl_NL) translations - [Michel Bats](http://www.batssoft.nl/)
= Links =
* [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](http://www.semiologic.com/software/auto-thickbox/) (Original)
* [ThickBox 3.1](http://jquery.com/demo/thickbox/) (JavaScript Library)
== Installation ==
= Auto Install =
1. Access Dashboard screen in WordPress
1. Select [Plugins] - [Add New]
1. Input "thickbox" into text field, and click [Search Plugins]
1. Click 'Install Now' at 'Auto ThickBox Plus'
1. Click 'Activate Plugin'
1. Upload images to WordPress Gallery or write links to images, inline, iFrame or AJAX contents
= Manual Install =
1. Download [auto-thickbox-plus.zip](http://downloads.wordpress.org/plugin/auto-thickbox-plus.zip)
1. Access Dashboard screen in WordPress
1. Select [Plugins] - [Add New] - 'Upload' tab
1. Upload the plugin zip file, and click [Install Now]
1. Click 'Activate Plugin'
1. Upload images to WordPress Gallery or write links to images, inline, iFrame or AJAX contents
= Manual Install via FTP =
1. Download [auto-thickbox-plus.zip](http://downloads.wordpress.org/plugin/auto-thickbox-plus.zip), and unzip it
1. Upload the plugin folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Upload images to WordPress Gallery or write links to images, inline, iFrame or AJAX contents
\* Note: If Auto Thickbox (not Plus) plugin is installed, you need to deactivate or uninstall it before activating Auto ThickBox Plus plugin. You cannot activate this plugin and the original plugin at the same time.
= Customization =
This is available options at Auto ThickBox Plus Options in 'Settings' menu. You can customize the behavior & design of the plugin through these options. See also [Screenshots](../screenshots/).
* General
* Default Display Style (Single Image or Gallery Images)
* ThickBox on Text Links (Auto or Manual)
* ThickBox Resources (original thickbox.js/css)
* Action
* Mouse Click
* Mouse Wheel (Scroll)
* Keyboard Shortcuts
* View
* Font Family & Weight
* Text Color
* Background Color
* Border
* Border Raidus
* Opacity
* Box Shadow
* Text Shadow
== Frequently Asked Questions ==
= How to access Auto ThickBox Plus Options? =
1. Access Dashboard screen in WordPress
1. 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
1. Select [Gallery Images] button in [Default Display Style]
1. Click [Save Changes] button
= I want to disable ThickBox on text links by default =
1. Access Auto ThickBox Plus Options page
1. Select [Manual] button in [ThickBox on Text Links]
1. Click [Save Changes] button
= I want to use original ThickBox resources =
1. Access Auto ThickBox Plus Options page
1. Uncheck [Use WordPress built-in thickbox.js/css (some extra features will be disabled)] checkbox in [ThickBox Resources]
1. Click [Save Changes] button
= How to pop up WebP image in Google Chrome or Opera? =
If you use optimized resources, you do not need to do anything.
If you use original ThickBox resources, execute the following steps.
1. Open `/wp-includes/js/thickbox/thickbox.js` file
1. Jump to line 72, and modify as follows
- var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
+ var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$|\.webp$/;
1. Jump to line 75, and modify as follows
- if(urlType == ... == '.bmp'){//code to show images
+ if(urlType == ... == '.bmp' || urlType == '.webp'){//code to show images
1. Save the file
== Screenshots ==
1. Pop-up image in "Single Image" style
1. Pop-up image in "Gallery Images" style (with Prev/Next links)
1. Auto ThickBox Plus Options page
1. Customization example (pink background, transparent window, rounded corners, no borders, bold font, etc.)
== Changelog ==
= 0.7 =
* Supports more mouse/keyboard actions and add 'Action' options to 'Options' page
* Mouse Click: Close, None
* Mouse Wheel (Scroll): Prev / Next, None
* Keyboard Shortcuts: Esc, Enter, < / >, Left / Right, [Shift +] Tab, [Shift +] Space, BacSpace
* Uses WordPress translations as much as possible
* Now ThickBox window is localized to more than **70 languages**
* e.g. Arabic, Chinese, Dutch, French, German, Hindi, Italy, Japanese, Korean, Polish, Portuguese, Russian, Spanish, etc.
* Suppresses redundant `