Welcome Guest, Not a member yet? Register   Sign In
Mistake in the User Guide
#4

[eluser]Konfine[/eluser]
I'd also like to point out here that on the user guide that under the Image Manipulation class 'Processing an Image' the code shows an example of:-

Code:
$config['image_library'] = 'gd2';
$config['source_image'] = '/path/to/image/mypic.jpg';
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
$config['width'] = 75;
$config['height'] = 50;

$this->load->library('image_lib', $config);

$this->image_lib->resize();

If you take this example you'll find that it doesn't actually perform the width/height as requested, you need to use initialize before doing the resize.

Just a bug I found while allowing to upload an avatar image.

Cheers


Messages In This Thread
Mistake in the User Guide - by El Forum - 02-27-2010, 11:49 AM
Mistake in the User Guide - by El Forum - 07-25-2010, 02:51 PM
Mistake in the User Guide - by El Forum - 07-25-2010, 09:25 PM
Mistake in the User Guide - by El Forum - 07-26-2010, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB