Welcome Guest, Not a member yet? Register   Sign In
not getting exact width and height in thumb image
#1

[eluser]ratna[/eluser]
i have following code. i have here width and height 50 each. but in thumb image i didn't get the same width and height. it is always lesser than the 50. i want thumb to have exact 50 width and height. please suggest.

$config['image_library'] = 'gd2';
$config2['source_image'] = './uploads1/plane.jpg';
$config2['create_thumb'] = TRUE;
$config2['maintain_ratio'] = TRUE;

$config2['width'] = 50;

$config2['height'] = 50;

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

$this->image_lib->resize();


Messages In This Thread
not getting exact width and height in thumb image - by El Forum - 11-19-2009, 11:19 PM
not getting exact width and height in thumb image - by El Forum - 11-20-2009, 12:33 AM
not getting exact width and height in thumb image - by El Forum - 11-20-2009, 02:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB