Extends Typesetter's Colorbox implementation by additional features. Current version 1.1
See also Typesetter Home, Typesetter on GitHub
- Typesetter CMS 5.0+
- Zoom images in Colorbox by implementing jquery.zoom.
- Pinch zoom and swipe images in Colorbox by implementing hammer.js.
- 2 additional styles 'Simple Box 1' and 'MediaWiki Style'.
- Show any image in Colorbox by using/adding the 'colorbox' class to the anchor.
- Show a Typesetter page in Colorbox by using/adding the 'loadPageInColorbox' class to the anchor.
Extensions and styles: Once the plugin is installed, the jquery.zoom feature and the 'Simple Box 1' style are enabled by default. Can be changed on the Admin page 'Plugins → Colorbox Extender → Settings'.
Any image in Colorbox (requires setting 'Load Colorbox → All Pages')
<a href="/path/to/image.jpg" class="colorbox" title="Image Caption">
<img src="/path/to/thumbnail.jpg" alt="My Image" />
</a>
Page in Colorbox (requires setting 'Load Colorbox → All Pages')
<a href="/About" class="loadPageInColorbox">About</a>
Ver 1.1 comes with an Admin page to set your preferences.
Add your custom styles or extensions to the respective subfolders. Defined styles/extensions (see existing ones) will be auto-loaded to be selected on the Admin page. /defaults/config.php contains the plugin default config which will be used as long as the Admin page Settings are not saved once.
Until the plugin is released on typesettercms.com, you need to download and install it manually:
-
Download the master ZIP Archive
-
Upload the extracted folder 'Colorbox-Extender-master' to your server into the /addons directory
-
Install using Typesetter's Admin Toolbox -> Plugins -> Manage -> Available -> Colorbox Extender
GPL License, same as Typesetter CMS. For bundled thirdparty components see the respective subdirectories.