Extension:GeeQuBox
|
GeeQuBox Release status: beta |
|||
|---|---|---|---|
| Implementation | Skin, User interface | ||
| Description | Displays full-size images with the jquery lightbox plugin when clicking on thumbnails. | ||
| Author(s) | David Raison (ClausekwisTalk) | ||
| Last version | 0.02 (2011-2-13) | ||
| MediaWiki | 1.16 and above | ||
| Database changes | no | ||
| License | CC BY-SA 3 | ||
| Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
||
| Example | Hackerspace.lu image gallery | ||
|
|||
|
Check usage (experimental) |
|||
Contents |
[edit] Description
GeeQuBox incorporates Leandro Vieira Pinho's lightbox plugin for jquery into MediaWiki's thumbnails and image galleries.
When a user clicks on an image in a gallery, the page darkens and the image is displayed full-size "on top of" the page. Clicking anywhere off the image returns everything to normal.
Images in galleries are treated as being part of a slideshow, and have "previous" and "next" images.
This extension is derived from and can be considered an upgrade from the SlimboxThumbs extension.
[edit] Screenshot
[edit] Setup
[edit] Download
[edit] Mediawiki 1.17
You can download the most current version of the code directly via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/GeeQuBox/. From a command line, you can use the following:
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/GeeQuBox/
[edit] Mediawiki 1.16
If you're not using the latest in mediawiki development, you might want to use the latest version that is known to work with your version of mw.
[edit] Stable release
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/GeeQuBox/REL_0_2
[edit] Development branch
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/REL_1_16/extensions/GeeQuBox/
[edit] Installation
Place the GeeQuBox directory within the main MediaWiki 'extensions' directory. Then, in the file LocalSettings.php in the main MediaWiki directory, add the following line:
include_once("$IP/extensions/GeeQuBox/GeeQuBox.php");
[edit] Release Notes
- 0.1 - Initial release.
[edit] Dev
[edit] Bugs
- If there are multiple galleries on one page, they are treated as being part of one big slideshow.
[edit] Todo
- Set resize height according to browser height
- Change resize width & height on window.resize()
- Try to replace the regexp mess with some better hook or data handling...
- Support non-gallery thumbnails.
