LightThumb updated to 1.6 (based on mootools and slimbox)
Sunday, December 2nd, 2007I Finally got some time to do some programming on lightThumb.
Some people wanted to attach images from digital cameras but linking the thumbnail to original version had some not wanted behaviors (image was too big on screen), so I added a second thumbnail generation option to the plugin. This will help now the webmaster a lot. They may now include the huge digital camera image to article with Joomla {mosimage} tag. LightThumb then creates a 150×150px thumbnail and displays it nicely in article. LightThumb also generates a 800×600 bigger thubnail (and caches it to bigThumbs folder) and creates a slimbox effect link to the bigThumb file.
If the original image is smaller than wanted bigThumb image, the slimbox effect will link to original version.
<%media(20071202-lightThumb_1.6.zip|Download LightThumb v. 1.6)%>
Some other changes are:
* Changed prototype.js to mootools.js and changed script.aculo.us to slimbox.js
* Fixed the mambots css-files a bit
* Figured out much easier installation process (no more template changes) as mambot automatically generates css/javascript stuff to template header
* For ie6 you need to check that template is not in quirkmode (so basicly copy the selected lines to your template)
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// remove xml prolog from template
//echo '[?xml version="1.0" encoding="'. $iso[1] .'"?' .']';
?>