
WideImage Library Plugin for Joomla 1.5/1.7
NOTE: starting with version 3.2 of the extension Related Thumbs Articles for #Joomla, you can either select TimThumb for #Joomla or WideImage for #Joomla for the creation of thumbnails.
WideImage for #Joomla is targeted for developer of #Joomla! 3rd party extensions, don’t install it if not asked otherwise
WideImage is an object-oriented library for image manipulation. It requires PHP 5.2+ with GD2 extension. The library provides a simple way to loading, manipulating and saving images in the most common image formats.
The library does resizing, cropping, rotating, watermarking (full list is here http://wideimage.sourceforge.net/documentation/manipulating-images/), and it works well with transparent pngs and gifs.
Currently the library is just the WideImage library, with the defined(‘_JEXEC’), index.html
Usage
Simple usage for #Joomla 3rd party extensions developers:
require_once(JPATH_SITE.DS.'libraries'.DS.'wideimage'.DS.'WideImage.php'); WideImage::load($sourceImage)
->resize($width, $height)->saveToFile($newImage);
More examples and docs are on the WideImage site:
http://wideimage.sourceforge.net/documentation/
Installation
- Joomla 1.6/1.7 install using the extension manager
- Joomla! 1.5 install by unpacking the zip into your /library folder