Lytebox
Extensions > System Tools > LyteboxStatus: Preliminary
Maintainer: krelvinaz.
Version: 2.2 (Supports Lytebox 3.22)
Downloads: lytebox2.2.php (Rename to lytebox.php after download)
Plugin adds a function call that enables the use of the Lytebox system. Lytebox allows you to display a smaller image and link it to a larger image (or different content) when it is clicked on. When clicked on, the background will darken and the content will be displayed in a box at the size requested.
Please refer to the Lytebox site:
Currently, only the lyteframe call is supported. calls for lytebox and lyteshow will be added soon.
The source includes basic settings info.
After you have lytebox installed and you have installed this plugin, you can use lytebox on a page like:
lyteframe:
[(lytebox rel='lyteframe' rev='width: 640px; height: 670px; scrolling: no;' url='http://sitename/content' img='/images/image.jpg' )]
lytebox
[(lytebox rel='lytebox' url='http://sitename/content' img='/images/image.jpg' )]
| Variable | Desc | Required |
|---|---|---|
| rel | lytebox lyteshow or lyteframe | Required |
| rev | Must contain rev codeing | Required for lyteframe only |
| url | Must contain URL of in to display when activated | Required |
| img | Must contain image to show before action | Required |
| width | Width of img to display | Optional |
| height | Height of img to display | Optional |
If you use cleanURL, you will need to exclude the directory that lytebox is installed into.
I install it in the webroot /lytebox and have reorganized all of its content within that directory for portability. You may need to install it differently.
- Download lytebox zip file (Lytebox_v3.2.zip for example)
- Extract zip to website. Should create a directory called Lytebox_v.3.2)
- Rename directory to lytebox OR symbolic link the version named directory to lytebox
- Modify lytebox.css file in the lytebox directory so that all references to images is changed to /lytebox/images
I currently only use lytebox (lytebox and lyteframe) with an display image. The package itself can work with just text for the display link but this plugin does not support that (yet).
