Welcome Guest, Not a member yet? Register   Sign In
Trouble with resizing image
#1

[eluser]jbads[/eluser]
When processing my image resize using the image manipulation class, I keep getting this error{

Quote:Your server does not support the GD function required to process this type of image.

My php info files says GD is enabled and GD version is bundled (2.0.34 compatible)

Here is my processing code

Code:
//resize the image
            $this->load->library('image_lib');
            
            $config['image_library'] = 'GD';
            $config['source_image'] = '../imguploads/'.$user_id.'/avatar.'.$files['extension'];
            $config['width'] = 190;
            $config['master_dim'] = 'width';

            
            if(!$this->image_lib->resize())
            {
                $message = array('error_message' => $this->image_lib->display_errors());
                $this->session->set_userdata($message);
                redirect('profile/editprofile');
            
            }

Any help on this one would be awesome thanks.


Messages In This Thread
Trouble with resizing image - by El Forum - 04-15-2008, 07:56 AM
Trouble with resizing image - by El Forum - 04-15-2008, 08:22 AM
Trouble with resizing image - by El Forum - 04-15-2008, 05:04 PM
Trouble with resizing image - by El Forum - 06-17-2008, 05:42 AM
Trouble with resizing image - by El Forum - 06-17-2008, 06:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB