Welcome Guest, Not a member yet? Register   Sign In
Image Manipulation Class question
#5

[eluser]Boris Strahija[/eluser]
Here's the example code.

Code:
$config['image_library']     = 'gd2';
$config['source_image']        = BASEPATH.'../'.$media['system_path'].$media['filename'];
$config['maintain_ratio']     = TRUE;
$config['create_thumb']     = TRUE;
$config['thumb_marker']     = '_th';
$config['width']             = 140;
$config['height']            = 140;

$this->image_lib->initialize($config);
            
$this->image_lib->resize();

I now just the x and y axis. I know I can do it manualy, it would be nice though to have something like this Smile
Code:
$config['x_axis']             = '50%';
$config['y_axis']            = '50%';


Messages In This Thread
Image Manipulation Class question - by El Forum - 05-18-2009, 04:09 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 04:16 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 04:18 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 04:21 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 04:24 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 04:28 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 04:47 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 05:19 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 05:21 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 05:25 AM
Image Manipulation Class question - by El Forum - 05-18-2009, 05:27 AM
Image Manipulation Class question - by El Forum - 06-02-2009, 09:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB