Something like:
Code: Select all
<__script__ type="text/javascript" src="uploads/thickbox/jquery-latest.js"></__script>
<__script__ type="text/javascript" src="uploads/thickbox/thickbox.js"></__script>
<link rel="stylesheet" href="uploads/thickbox/thickbox.css" type="text/css" media="screen" />
How to use:
Works just like the {ImageGallery} tag does now; but there's a new parameter, ThickBox, to enable ThickBox links on either 'thumbs' (the thumbnail pages) or the 'bigpic' (the generated single-pic page).. and do not specify a 'type' (i.e. click vs popup). Simply add ThickBox='thumbs' or ThickBox='bigpic' to the {ImageGallery} tag. If ThickBox is omitted, the tag will function as if it were unmodified.
Make a backup of your original function.ImageGallery.php and put somewhere outside the ./plugins directory; rename the .txt file attached to this post to a .php file and upload to ./plugins
This is released as WFM and YMMV ("works for me" and "your mileage may vary"). Base was the ImageGallery plugin as found in the CMSMS 1.2 core.