user_guide misunderstanding #116

bitbucket-import opened this Issue Aug 19, 2011 · 0 comments


None yet
2 participants

someting misunderstanding in the user_guide

the introduction of image_lib class
the function crop------$this->image_lib->crop()

described as
"All preferences listed in the table above are available for this function except these: rotation_angle, width, height, create_thumb, new_image."

actually i can use the parameter width height create_thumb etc.
like this

$config['image_library'] = 'gd2';

$config['source_image'] = $picture_path.'_test';

$config['image_library'] = 'gd2';

$config['source_image'] = $picture_path.'_test';

$config['thumb_marker'] = '_oimage';

$config['create_thumb'] = TRUE;

$config['maintain_ratio'] = TRUE;

$config['width'] = $width;

$config['height'] = $height;

$config['x_axis'] = $x;

$config['y_axis'] = $y;

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

i've worry about this for almost 3 hours....- -

@narfbg narfbg closed this Oct 5, 2012

nonchip pushed a commit to nonchip/CodeIgniter that referenced this issue Jun 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment