EidolonAH
12-13-2009, 10:00 PM
This will enable you to use LightBox2 as a BBCode in your posts.
Please note this is only possible due to the fantastic work of HuddleTogether,
so boogie on over to their site and
Download lightbox2 (http://www.huddletogether.com/projects/lightbox2/#download)
upload files from lightbox2 as follows:
css/*.* - root/forum/css/*.*
js/*.* - root/forum/clientscript/*.*
images/*.* - root/forum/images/*.*
Upload the attached image to here:
root/forum/images/ximgrs.png
Create new Custom BBCode
Title:
Xtreme Resize
BB Code Tag Name:
ximgrs
Replacement:
<p><script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<font color="#000000"><strong>Click Thumbnail to view Full Screenshot Demo</strong></font><br /><br />
<a href="{param}" rel="lightbox" title="{param}"><img src="{param}" width="300" /></a></p>
Example:
url to image
Description:
Lightbox2 bbcode for images
Button Image (Optional) :
images/ximgrs.png
View Demo (http://www.eidolonmh.com/xtreme/showthread.php/41-DTMISOTF-Island)
Please note this is only possible due to the fantastic work of HuddleTogether,
so boogie on over to their site and
Download lightbox2 (http://www.huddletogether.com/projects/lightbox2/#download)
upload files from lightbox2 as follows:
css/*.* - root/forum/css/*.*
js/*.* - root/forum/clientscript/*.*
images/*.* - root/forum/images/*.*
Upload the attached image to here:
root/forum/images/ximgrs.png
Create new Custom BBCode
Title:
Xtreme Resize
BB Code Tag Name:
ximgrs
Replacement:
<p><script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<font color="#000000"><strong>Click Thumbnail to view Full Screenshot Demo</strong></font><br /><br />
<a href="{param}" rel="lightbox" title="{param}"><img src="{param}" width="300" /></a></p>
Example:
url to image
Description:
Lightbox2 bbcode for images
Button Image (Optional) :
images/ximgrs.png
View Demo (http://www.eidolonmh.com/xtreme/showthread.php/41-DTMISOTF-Island)