Additional Info
Type
Package ID
slinouille:jQLightbox
First Created
January 24, 2009, 01:55:05 AM
Last Updated
December 11, 2010, 06:31:17 AM

jQLightbox v0.6

A real lightbox feature to all images in your forum
Compatible With 2.0 RC4
Latest version v0.6
Downloads 8,111
Reviews 0
Rating 0/5
Subscribers 34
License (View License)
Author(s)

jQLightbox v0.6
By Slinouille


Introduction
The mod adds a real lightbox feature to all images in your forum.
jQLightbox mod uses:
- jQuery javascript library : http://jquery.com/ - v1.4.2
- jQuery prettyPhoto pluggin from http://www.no-margin-for-errors.com/projects/prettyPhoto/. - 3.0

Features
o Activation in admin control panel
o Nice lightbox effect
o Multiple images are displayed as a gallery
o Automatic image resize to fit the user's screen
o No conflict with other javascript libraries you could use
o Admin can parameter autoresize, padding on each side of picture, opacity, animation speed and a theme.

Installation
Simply install the package to install this modification on the SMF Default Core theme.
Manual edits will be required for other themes.

Note: If you want to use also AttachmentInMessage mod, please install "jQLightbox pluggin for AIM" mod after

This mod is compatible with SMF 2.0 RC4 Public and above only.

Installation with AttachmentsInMessage modification
If you want to use jQLightbox modification with AttachmentsInMessage mod, I recommand to first install AttachmentsInMessage and after jQLightbox.
After what, follow next instructions:
o Open Sources/Display.php
o Find line
$inlinedtext = '<a href="' . $attachment['href'] . ';image" id="link_' . $attachment['id'] . '" onclick="'. $attachment['thumbnail']['javascript']. '"><img src="'. $attachment['thumbnail']['href']. '" alt="" id="thumb_'. $attachment['id']. '" border="1" class="outsb" class="inlined_img" /></a>';
o Replace by
$inlinedtext = '<a href="' . $attachment['href'] . ';image" id="link_' . $attachment['id'] . '" rel="lightbox[gallery]"><img src="'. $attachment['thumbnail']['href']. '" alt="" id="thumb_'. $attachment['id']. '" border="1" class="outsb" class="inlined_img" /></a>';

Support
Please use the modification thread for support with this modification.

Translations are welcome :-)

Changelog
0.6.0 - 11th December 2010
o Compliance check with SMF 2.0 RC4.
o New theme "Facebook like"

0.5.0 - 22th March 2009
o Compatibility with other javascripts library tested (needed if using other SMF mods such as nneonneo's AJAX ShoutBox)

0.4.0 - 16th February 2009
o Correction of resizing functionality
o Some minor code optimization

0.3.0 - 16th February 2009
o 3 themes are available for lightbox
o Correcting undefined index errors in "Errors log"

0.2.0 - 29th January 2009
o Add some possible customizations of lightbox through admin panel

0.1.0 - 24th January 2009
o Initial release
jQLightbox.0.5.zip
119.30 KB
jQLightbox.0.6.zip
107.22 KB
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: