Welcome Guest, Not a member yet? Register   Sign In
image library problem
#1

[eluser]alebenson[/eluser]
Hi there!
Im trying to do a thumbnail so first thing i did was

Code:
$this->load->library('image_lib');
$config['image_library'] = 'GD';
$config['source_image'] = $imagenTMP['full_path'];
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
$config['width'] = 30;
$config['height'] = 50;
$this->load->library('image_lib', $config);

if ( ! $this->image_lib->resize())
{
echo $this->image_lib->display_errors();
}

and i got this error
Code:
Your server does not support the GD function required to process this type of image.
i've already try with $config['image_library'] = 'GD2' and the same thing happend

sent an email with the guys from the server, i ask what lib they have installed. There response was GD and GD2

ok, so i try with
Code:
$this->image_lib->rotate()

and i got this error
Code:
"An angle of rotation is required to rotate the image."

then i did just

Code:
$this->load->library('image_lib');        
$config['image_library'] = 'GD';
$config['rotation_angle'] = '90';
$this->load->library('image_lib', $config);
if ( ! $this->image_lib->rotate())
{
echo $this->image_lib->display_errors();
}

and i got the same error
Code:
An angle of rotation is required to rotate the image.

so the thing here is somewhere i dont know

any ideas?


Messages In This Thread
image library problem - by El Forum - 03-04-2008, 10:55 AM
image library problem - by El Forum - 03-04-2008, 02:08 PM
image library problem - by El Forum - 03-04-2008, 02:26 PM
image library problem - by El Forum - 03-05-2008, 06:37 AM
image library problem - by El Forum - 03-05-2008, 07:04 AM
image library problem - by El Forum - 03-05-2008, 07:17 AM
image library problem - by El Forum - 03-05-2008, 07:37 AM
image library problem - by El Forum - 04-01-2008, 05:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB