(image)
boolean o2img_thumbnail(string $source_file, string $target_file, integer $width, integer $height, boolean $ratio)
Creates a thumbnail for a given source image file.
When $ratio is FALSE thumbnail image will stratch to fit width and height.
When $ratio is TRUE humbnail image will maintain aspect ratio to fit width or height without stratching.
Supported image formats are PNG, GIF and JPG.