hello guys, i just figure this out a few days ago since my thickbox doesn't work and i don't even use it

so ima use lightbox to pop up the images!!

i have been trying to use javascript, but in the end, the better way will be css

please take a look at Addthisto.com / Published Favorites click any images from the story page

or here to directly to the story page: Marked-up birds become sexier, exude testosterone / Addthisto.com

1: download the file from :
Code:
http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm

2: upload file to your root

3: add the code to your template ( pligg.tpl )

4: go to modules / images upload folder ( open up the image_upload_setting.php )

search for // No Thickbox and Thickbox

Thickbox

change the pre3 code to
Code:
define('module_imageupload_thickbox_pre3', '" rel="lightbox">');
No thick box

Code:
define('module_imageupload_directlink_pre3', '"rel="lightbox">');

here is my code :

Code:
// Thickbox

define('module_imageupload_thickbox_pre1', '<a href="'.my_pligg_base.'/'.module_imageupload_imagedir);        # Thickbox Pre 1 string
define('module_imageupload_thickbox_pre2', '" title="Addthisto ');                                                                # Thickbox Pre 2 string
define('module_imageupload_thickbox_pre3', '" rel="lightbox">');                                                # Thickbox Pre 3 string
define('module_imageupload_thickbox_post', '</a>');                                                                                # Thickbox Post string


// No Thickbox
define('module_imageupload_directlink_pre1', '<a href="'.my_pligg_base.'/'.module_imageupload_imagedir);        # Directlink Pre 1 string
define('module_imageupload_directlink_pre2', '" title="');                                                                # Directlink Pre 2 string
define('module_imageupload_directlink_pre3', '"rel="lightbox">');                                                                                # Directlink Pre 3 string
define('module_imageupload_directlink_post', '</a>');                                                                        # Directlink Post string