From a225738797ebfa565b7380c313a0670a863cbc49 Mon Sep 17 00:00:00 2001
From: Derek Jones
$config['image_library'] = 'GD';
+$config['image_library'] = 'gd2';
$config['source_image'] = '/path/to/image/mypic.jpg';
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
@@ -104,7 +104,7 @@ $this->load->library('image_lib', $config);
$this->image_lib->resize();
The above code tells the image_resize function to look for an image called mypic.jpg
-located in the source_image folder, then create a thumbnail that is 75 X 50 pixels using the GD image_library.
+located in the source_image folder, then create a thumbnail that is 75 X 50 pixels using the GD2 image_library.
Since the maintain_ratio option is enabled, the thumb will be as close to the target width and
height as possible while preserving the original aspect ratio. The thumbnail will be called mypic_thumb.jpg
--
cgit v1.2.3-24-g4f1b